Can we use Virtual Objects in Discriptive Programming?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / king
Can u plz provide code how to use Virtual Objects in DP.
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / vaaniraj
yes, we can add the virtual objects in descriptive program.
once making the virtual objects to qtp objects , we can use
descriptive programming for that object
| Is This Answer Correct ? | 1 Yes | 2 No |
how to load all resource files(function libraries,object repositories etc) into tests without associating them?
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
How to handle Run-time errors?
how to pripare BRS/FRS Document for different projects?
I want to execute 1st row of the local sheet and 3rd row of the global sheet parellely. write script to execute
in qtp wha t is synchronisatin pt,what is the maximam time out
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?
Is it possible to convert QTP scripts to Silk scripts?
What is Optional step?
How to send the qtp results file by email (Lotus notes).