Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check two different webelement values
#3
Not Solved
Hello

Yes screenshot required. I will try to help with this.

First You can add web element in into OR. Now you can see how you can retrieve from class. I can see you are able to print the both thing. If you having problem while comparing add CStr(YOUR VARIABLE NAME) now you can compare easily using any if condition.

one more thing if you still not able to retrieve data from web element.
1) open OR(Object Repository) and see class and follow that to get the data.
2) You can retrieve from "text" too. innertext is also fine. You can try if having problem with inner text.

Suggestion:

To get accurate help. Always try to explain in descriptive manner and use snapshot and other things to make sure other user of forum can understand perfectly. You can include what ever you are getting and all things. User like me will run code on my QTP and find right solution.

Best luck.
Reply


Messages In This Thread
RE: How to check two different webelement values - by QTPScript - 08-30-2012, 10:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,954 09-28-2016, 08:58 PM
Last Post: supputuri
  Webelement Values profqa 1 2,403 01-05-2015, 11:07 PM
Last Post: supputuri
  Compare Webelement with Datatable Values hamzaz 1 4,610 04-29-2012, 06:38 PM
Last Post: srikanthqtp
  Does QTP 9.0 supports drag & drop functionality check for webelement? jyotikrushna 1 4,152 01-13-2010, 01:33 PM
Last Post: 1981.madhu@gmail.com
  how to validate combobox values with testdata values 1981.madhu@gmail.com 3 5,970 09-09-2009, 06:53 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 2 Guest(s)