I have some problem. We are doing DP and i was struck with little issue.
I am having page like this
My Account (WebElement)
Hello XXXXX your last logon was on 22/01/06 (WebElement)
Your are allocated to this below details. (WebElement)
And i have a table here.
- My problem is When i try to spy on "Hello XXXXX ... " , the spy found that line as Webelement with the below hirarcy.
Browser().Page().Frame().Webelement( MyAccountHello XXXXX .... " up to table end.
Now i want to capture the date on Hello line .
I got this values when i tried to spy on the line
Test Obj Properties
Class Name = WebElement
html Tag = FORM
inntertext = MyAccountHello XXXXX .... " up to table end.
RO Object Properties (IMP)
acceptCharset : Unknow
I didt get title property and other usefull properties.
Can someone let me know how to capture the innertext of that webElement using DP.
Thanks in advance.
Surendra Reddy Marthala
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
I am aware of that , but i am not sure what to put in webelement()
for ex: browser("version:=internet explorer6).Page("name:=New").WebElement(?).GerROPr operty("innertext")
what i want insert in webelement. I tried with all possible values..
BUT NO LUCK.
It should be webelement("MyAccountHello XXXXX") because you want to get property of the object captured.
You could try this site.. (not sure how good it is) for some more info. www.asaf.co.il/blog/?cat=5
I like what i know and I know what i like
Problem was that only, (ie My AccountHello XXXX..... ) text is covering total page.
that text includes table radio button names etc..
Send the web page source code on my id tarun_lalwani_2000(at)yahoo(dot)com