08-28-2012, 06:26 PM
I need to verify the shipping value and total value after adding the items into basket. Both the objects are weblements.. i have added one object in repository and written the statement to retrieve the weblement value using getroproperty and in the OR i have used regular expression for innertext property..when i try to add other webelement its identifying the same first already added weblement..i need to verify the both the values...there is no table..only browser(...).page(..).webelement....please help me in this regard how to retrieve both the values...is there any possible solution for this..
This was the case where for both its considering the same weblement even if the both values are at different place in the application
This was the case where for both its considering the same weblement even if the both values are at different place in the application
Code:
aShipQty = Browser("...").Page("...").WebElement("Quantity").GetROProperty("innertext")
PRINT aShipQty
aTotal = Browser("...").Page("...").WebElement("Quantity").GetROProperty("innertext")
PRINT aTotal