Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save label webelement value
#1
Not Solved
hi, am new on this, here's the issue,

there's a label that indicates the date and time, so i want to save this value on variable, but i dont know how, in QTP, the object repositoty shows the control as webelement, can anyone help me please.

Reply
#2
Not Solved
Hi,

You can get "innertext" of the webelement.

Code:
MyAppDate = Browser("AUTBrowser").Page("AUTPage").Webelement("Testingwebelement").GetROProperty ("innertext")
Msgbox MyAppDate

Please let me know if you need any more information.
Thanks,
SUpputuri
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)