Can we call a parameter from an action to other action?

Answers were Sorted based on User's Feedback



Can we call a parameter from an action to other action?..

Answer / siraj

Following are the ways to pass values from one action to
another.
- Test parameters
- Action parameters
- Environment variables

Is This Answer Correct ?    1 Yes 0 No

Can we call a parameter from an action to other action?..

Answer / vengi

By using enviornment variables


if it is worng correct please

Is This Answer Correct ?    0 Yes 0 No

Can we call a parameter from an action to other action?..

Answer / rams

Yes we can pass from one action to other action.
First we have to declare the action parameters.
Then we can pass these parameters from one action to other
action with the variable names

Is This Answer Correct ?    0 Yes 0 No

Can we call a parameter from an action to other action?..

Answer / joshua

S of sourse we can send by parameterising the input and
output parameters from the action propperties window...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

0 Answers  


What is the registration process and examination fees?

0 Answers  


without Qtp features can we automated?

1 Answers   IBM,


VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...

1 Answers  






Do you support automated testing? Why?

0 Answers  


is we can import the object repository from external source. if it so then how?

5 Answers  


How to use Environment parameterization in QTP? Explain with an example.

2 Answers  


how interviews will be on QTP?

0 Answers   Fidelity,


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


How to creating an output value using quicktest professional (qtp)?

0 Answers  


How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?

1 Answers  


Categories