Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Condition/Outcome Branching within Script
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
I am trying to build a case for purchasing QTP and Q/C.

The way I am trying to justify this purchase based on the time we spend performing our regression testing. For example, we conduct 652 hours of regression testing per year.

Based on what I saw of the demo, I am figuring that it would take about 8 hours to convert our existing manual scripts into QTP scripts. I am basing this on the fact that QTP does a good job of recording and play back. That is the easy part. The hard part is converting that recorded script to use a Data Driven spreadsheet. This spreadsheet would allow the Test Script to conduct multiple iterations but using different values in the various field.

Now, the hard question. This software looks like it can do a good job of RECORD and PLAYBACK form of automated testing. How will this product do on reactive testing. By reactive testing, I am mean providing a way to do Condition/Outcome branching within the TEST SCRIPT. For example, when a value of a drop down box is selected, skip over a few steps and proceed to a different step. Like this:

1. User enters a User ID and password, and selects a value from a drop down box. This drop down box contains a User Role. A User Role could be "Analyst", "User", "Customer". Based on the value of the role, the script would have to skip and execute different parts of the script.
2. If User Role = Analyst, then display the entry screen for "Analyst".
3. If User Role = User, then display the entry screen for "User"
4. If User Role = Customer, then display the entry screen for "Customer".


Any help would be appreciated.

Thank you!
Reply


Messages In This Thread
Condition/Outcome Branching within Script - by danielrose01 - 06-12-2012, 01:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,906 05-04-2016, 11:28 PM
Last Post: supputuri
  While Wend condition raaj123 3 3,680 06-11-2012, 06:25 PM
Last Post: ravi.gajul
  Branching in Keyword driven... vIns 2 3,224 12-23-2011, 06:56 AM
Last Post: vIns
  if condition throwing type mismatch error rrdamuluri 2 4,101 11-04-2010, 10:51 PM
Last Post: rrdamuluri
  Can we use checkpoint as a condition statement? riteshgpt 4 9,805 04-28-2010, 08:49 PM
Last Post: riteshgpt

Forum Jump:


Users browsing this thread: 1 Guest(s)