I register user defined function in one test, I tried to
call that function into other test. But that function not
works in other test please give the direction for that.
Answer / vijay
Hi,
You need to place the function in to .vbs file and you need
to execute that file before you are calling that function
in to other test. then that function will be there in the
memory and you call any no of times.
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi What are re-usable actions in QTP? -Thank You
what is syncurnisation point? what is the use of this in real time environment? plz explain?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
What is chaild object method? When we will go for chaild object method? How to use chaild object method?
What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?
1 Answers Brain Roots, Ordain Solutions,
how can i call reusable action in a function could any one explain me?
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
What is the difference between functional spec. and Business requirement specification?
Can we Test Welcome Screens and Process Images with QTP
How to identify 2 versions of browsers based on regular expression