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
Explain step generator in qtp?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How you can find the absolute value of the number in qtp?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
Explain in brief about the quicktest professional automation object model?
What do you mean by iteration?
how to convert 100 into hundred repees only and viceversa
What is the difference between a Function and Procedure in QTP?
Approach for Installation,comaptibility,system testing
can the activities of test case design be automated?
What is QTP testing process?
Can any one send me the QTP Basic Coding Samples?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
What is the use of running the scripts in Hidden-mode in UFT?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?