how to recall a function in QTP?
Answers were Sorted based on User's Feedback
Answer / pooja
to call a function...
in script u can write the function name as
login()
if there is any argument has to be passed then,
login(username, password)
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rajanya
Exist function can be used (called) to more than one test.
We can call the Function by calling the function name into
our script,
"Public Function Launch_Browser(byval URL)"
For the above function, u can call Function name -
Launch_Browser to your script by declaring variables too..
| Is This Answer Correct ? | 2 Yes | 0 No |
HI. AnyBody can explain Automation Testing Framework...Generally wht do we Intiate before going to start Automation testing process... Anybody can explain.......Thanks in advacne...
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
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 will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
What will be happen if i load object repository at run time, but it has already associated.
normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
what is Unicoad Compatibility ???? HOw does this makes a diffrence from Winrunner.???
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?
Hi, Can anyone tell me what type questions can be ashed in interview on QTP?