setroproperty and getroproperty difference
Answer Posted / umasankar
Set brwobj=Description.Create
brwobj("micClass").value="Browser"
Set pgobj=Description.Create
pgobj("micclass").value="Page"
msgbox Browser(brwobj).page(pgobj).getroproperty("title")
Set oDesc = Description.Create
oDesc("micclass").Value = "WebEdit"
Set ObjWebElement = Browser(brwobj).Page(pgobj).ChildObjects
(oDesc)
NumberOfObjWebElement = ObjWebElement.Count()
For i = 0 To NumberOfObjWebElement - 1
varWebElement= ObjWebElement(i).getroproperty("value")
Msgbox varWebElement
Next
ObjWebElement(i).set "my Value to set"
ObjWebElement(i).type "my Value to set"
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i can done the project with QTP in that time i can say how many members in my team size?
How does QTP identify an object?
what could go wrong with test automation?
How do you send email with attachment from outlook using qtp ?
What is the difference between local and shared object repository in qtp?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
what is the frame work in J-meter?
What is the difference between rational rose and QTP?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Please guide me release notes of Automation once scripts are completed
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
What are benefits of qtp?
What is qtpro?