What is Virtual Object? Plz Explain me with an example?
Answers were Sorted based on User's Feedback
Answer / sreeprasad
Some time the QTP is not able recognize advanced technology
in our application build.
To recognize these objects also forcefully Test engineers
are using Virtual object concept.
Navigatiion->Tool Menu->Virtual object->New Virtual object-
>click Next->
Selected expected type->click Next->Mark non recognized
object area->
click Next->click Next after confirmation->Specify logical
name to new entry->
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / abhesheke
Sreeprasad answer is correct i want to add few details
we use virtual object when out automation tools is not able to
recgonize any object example:a application download from
internet so to recgonize such object we use virtual object
this possible in both winrunner and QTP
the navigation is same as sreeprasad said
any query plz ping me to abhesheke@yahoo.com
Is This Answer Correct ? | 3 Yes | 0 No |
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
what is the automation framework that ur company using(actual procedure,not theoritically explination)
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks
Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If
anyone can explian about types of "Triggere Events" in QTP
How to open any application during Scripting in QTP?
If our application contain one image while executing script application failed to show that image but you have to check that image by importing dynamically from other location... Can we use Check Points here on dynamically imported image?
in qtp how can we do test when the build is not ready
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
what is the diffrence between script and Language ? (Chandana)
Why is action split used by qtp?