Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the dynamic value displayed on the page
#1
Not Solved
Hi,

My web page displays the search results and a text at the top of the results table as " 100 records" , " 200 records"..etc.. basically the number of records returned from the Search,

Now I have to capture that text for my testing.

This text is mentioned in the table row inside the <TD> tag..

i was able to capture the web element from the Active screen for that element, but i am not sure which property to use to extract the value


The screen looks like this

--------------------------------------------------------------------
Summary 100 records
--------------------------------------------------------------------


Here is my code: this returns the value "Summary" but i am looking to get the value as "100 records"


Code:
txtstr1 = Browser("MDC").Page("MDC").Frame("mdma_bottom").WebElement("pgrSdpSummary:Page:ddlPage").GetROProperty("text")

any help??

Thanks,
Geetha
Reply


Messages In This Thread
How to get the dynamic value displayed on the page - by geethwind - 07-30-2009, 01:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "UFT has stopped working" is displayed during running the script kotaramamohana 0 1,214 08-24-2018, 01:07 PM
Last Post: kotaramamohana
  array to be captured and displayed Anu209 0 1,160 06-24-2017, 10:19 AM
Last Post: Anu209
  Multiple 2 IE browsers are being displayed VA1405 1 1,768 01-15-2014, 07:20 AM
Last Post: basanth27
  Type mismatch is displayed for .SET method (Blank value) dineshb 4 4,157 07-20-2010, 08:58 PM
Last Post: dineshb

Forum Jump:


Users browsing this thread: 1 Guest(s)