Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to run 3 of 5 actions in a test for all rows of test data
#2
Solved: 10 Years, 7 Months, 1 Week ago
Hi All,

No responses so far but I have come up with a workaround.

I have added two additional fields to the test data spreadsheet:
- Login
- Logout

Actions 1 (Retrieve test data) and 2 (Start Browser and Login) check the "Login" value and if set to "Y", the code is performed.

Action 6 (Log off and close the Browser) checks the "Logout" value and is set to "Y", the code is performed.

This allows Actions 1, 2 and 6's code to be run when required and Actions 3, 4 and 5 code will always be run for each row of test data.

Not sure is anyone will find this workaround helpful but it works for me.

Cheers,
Mike
Reply


Messages In This Thread
RE: How to run 3 of 5 actions in a test for all rows of test data - by mharps - 04-10-2014, 04:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Send automatic email notification when test run started helmzshelmz 0 1,069 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  Multiple rows of test data Bhuvana 0 1,337 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Can we test Salesforce Standard form using QTP? yona34 0 1,072 05-22-2018, 10:57 AM
Last Post: yona34
  issue with IE when running test eiko 2 1,574 02-01-2018, 04:46 PM
Last Post: eiko
  Test runned from QualityCenter generated an error "Attempted to divide by zero." robertosalemi 1 2,567 10-14-2016, 08:38 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 1 Guest(s)