In QTP whether is it possible to call a function from one
action to another action?
Answer Posted / sandeep
Do more simple thing.
Store any function in any .vbs file.
Either link that .vbs file as a Resouce to QTP.
Or
Dynamically link .vbs file with QTP usign
ExecuteFile <file path >
Once either of the step is done then you can call any
function stored in .vbs file
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the technologies supported by qtp?
How would you export a script from one pc to another in qtp?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What the differences are and best practical application of Object Repository?
How to find the difference between 2 dates in qtp?
Hi, how can we check or avoid the memory leakage in QTP9.2?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
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 is quicktest professional (qtp)?
What are the disadvantages of recording test cases in qtp?
assume i have few url link how will i dynamically call then using descriptive programming?
how to download mercury qtp9.2 ny internet ?
write script for bitmap image?
What is post recovery scenario?