-
-
How can we use 2 datasheet at a time ? I understand the sheet we imports to global will be visible through out the test. Can we import another datasheet to the test (to the local sheet) and switch between the sheets ?
Someone please help me out .
Thanks,
Ajoy">Hi all,Please help me out in this issue. I created an action and imported a sheet to the global datatable.From the first action itself I am calling an external action.In that external action,I tried to import another datatsheet(xl sheet) using the importSheet command to a local datatable space of an action.But QTP stops at this command and says " datatable does not exist" and it shows the previous datasheet that we imported in the first action to the global sheet.How can we use 2 datasheet at a time ? I understand the sheet we imports to global will be visible through out the test. Can we import another datasheet to the test (to the local sheet) and switch between the sheets ?Someone please help me out .Thanks,Ajoy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
match"
Else
Reporter.ReportEvent micFail "Account balance verification", "balances
do not match"
error_count = error_count + 1
End If
Which answer best describes the actions that will be performed when the
lines of QuickTest Pro code are executed?
A A status of PASS is reported for the "Account balance verification" step and the value of the error_count variable is increased by 1.
B A status of FAIL is reported for the "Account balance verification" step and the value of the error_count variable is not changed.
C A status of FAIL is reported for the "Account balance verification" step and the value of the error_count variable is increased by 1.
D The code will produce a syntax error because 'Then' should be on the same line as 'If'.
E A status of PASS is reported for the "Account balance verification" step and the value of the error_count variable is not changed.
">A colleague has written a block of QuickTest Pro code to compare two account values. If the values match, the script should simply use the ReportEvent method to report a PASS status for the step. If the account values do not match, the script should report a FAIL status for the step and increment the error_count variable by one. You review your colleague’s script shown below:expected_account_balance = 5000actual_account_balance = 5500If (actual_account_balance = expected_account_balance) Reporter.ReportEvent micPass, "Account balance verification", "balances match"Else Reporter.ReportEvent micFail "Account balance verification", "balances do not match" error_count = error_count + 1End IfWhich answer best describes the actions that will be performed when the lines of QuickTest Pro code are executed?A A status of PASS is reported for the "Account balance verification" step and the value of the error_count variable is increased by 1. B A status of FAIL is reported for the "Account balance verification" step and the value of the error_count variable is not changed. C A status of FAIL is reported for the "Account balance verification" step and the value of the error_count variable is increased by 1. D The code will produce a syntax error because 'Then' should be on the same line as 'If'. E A status of PASS is reported for the "Account balance verification" step and the value of the error_count variable is not changed.
-
QTP Interview Questions
Ans