How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answer Posted / baba
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 |
Post New Answer View All Answers
how can we do the frame work in qtp
How to create runtime property for an object?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
The hybrid framework can be implemented for any application. Is it true?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
What is quicktest professional?
Define Canvas view of UFT?
what is description object?
Write a script to verify font style and color of a windows object using descriptive programming
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What is the use of ordinal identifier in qtp?
What is the difference between Keyword Driven test and Data Driven test?
How is test case write?