Syntax for how to call one script from another and Syntax
to call one "Action" in another?
Answer / ramyab.mca@gmail.com
Hai....
RunAction ActionName, [IterationMode , IterationRange ,
Parameters]
Here the actions become reusable on making this call to any
Action.
IterationRange String Not always required. Indicates the
rows for which action iterations will be performed. Valid
only when the IterationMode is rngIterations. Enter the row
range (i.e. "1-7"), or enter rngAll to run iterations on
all rows.
If the action called by the RunAction statement includes an
ExitAction statement, the RunAction statement can return
the value of the ExitAction's RetVal argument.
K,Byeeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 0 Yes | 0 No |
Need one Urgent help please,for ex: first time i created Local reposory and convert that local to shared Rep and save in some where(by using Export local objetcs), unfortunately that saved repository is missed, now i want same repository,but iam not able to export the same repository second time?? i need that Repository only how to get???
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
What are the different attribute used with regular expression?
what is the use of automation objective model?where is used? plz tell me
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.
By using QTP, How do you test a frame in a web page?
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
What is the current version of QTP and now it is the product of Mercury or HP
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
What are the five challenges you faced in QTP?
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..
What is the quicktest professional (qtp) testing process?