I have a scenario where i need to fetch the value of patientIId from the text returned in the format of HTML. When i query the below xpath "driver.findElement(By.Xpath("....xpath ...")).getText();"
I get the below text
target-uri="DemographicsTab"
tab-appearance=" AbsoluteView TabContainer "
appearance-class=" AbsoluteView TabContainer " title="">
<argument local-name="PagePatientIID" value="10032" />
<argument local-name="Patient" value="10032" />
<argument local-name="PagePatientDemographicsIID" value="53" />
<argument local-name="Node" value="DemographicsTab" />
<argument local-name="CurrentFrame" value="ContentFrame" /><argument local-name="CurrentViewTargetName" value="DemographicsTab" />
</view>"
Kindly help me in getting the value of "PagePatientDemographicsIID" from the above text.
i.e i need the **value = "53"**
Thanks In Advance