Can we use Virtual Objects in Discriptive Programming?
Answer Posted / uday
Yes, we can define virtual objects using Descriptive
Programming.
You should use x, y, width and height properties to define
virtual objects.
The script will look like below:
window("Paint").WinObject("NetUIHWND").virtualobject("x:=256","y:=66","width:=22","height:=20").Click
13,11
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
distinguish between old version and new version QTP features.
what type of framework u r using in ur organization
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
What are the trigger events in qtp?
what is impact analysis on regression testing?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
What is the extension of the recovery scenario file in qtp?
Explain the check points in quicktest professional?
What is the significance of “action 0” in qtp?
What is recovery scenario in qtp?
What is qtpro? What is a quick test professional?
How can you write the scripts that operate on different objects depending on run-time information?
What is ‘object spy’ and what is the function of object spy in qtp?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);