How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answers were Sorted based on User's Feedback
Answer / kumar
To access runtime objects we can use GETROProperty
and SETTOProperty to change the TESTOBJECT property in QTP.
Kumar.rnv@gmail.com
Broadridge
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nalini
We can access the runtime objects by its properties. Ex:
GetROProperty method
| Is This Answer Correct ? | 3 Yes | 0 No |
We cannot edit runtime objects in Automation Testing, bcoz
Runtime objects means the Objects available in AUT,
we can only use the properties available for objects and we
can change the property/properties available in OR during
runtime by using SETTOPROPERTY
We can retrieve the property and its value by using
GetRoProperty
eg:
dialog("Login").Activate
dialog("Login").WinButton("OK").SetTOProperty "text","Cance"
print dialog("Login").WinButton("OK").GetROProperty("text")
it returns "Cance"
it is changing the property value during runtime.
please check it once in ur QTP
| Is This Answer Correct ? | 3 Yes | 1 No |
How many types of recording facility are available in quicktest professional (qtp)?
what type of framework u r using in ur organization
write script for bitmap image?
how to load the *.vbs (or) test generating script in a new machine?
what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
Can anybody help me for vb script in qtp? give me examples for practice plz.
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What are the challenges you faced during you entire life automation ?
Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .
Explain the Load testing process?
what is meant by iterative model?What is its working principle?What are its advantages and what are its drawbacks?
Suppose I want fail that check point? How can you do that?