Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Driver Script to control child scripts
#1
Not Solved
Hi All,

My requirement is that I have few use cases, each use case has 4-5 scripts for a specified browser, it can be for multiple browsers also. 

So now I need a driver script which typically checks for the use case execution status (Yes or NO) and browser type(IE,Chrome,IE+Chrome) and then executes the test scripts belongs to that Use Case. 

So now how to do the mapping between use case and browser type then run the scripts for different browsers.

Regards
Suman
Reply
#2
Not Solved
You can have One File that contains the Use cases and a flag whether to run the use case or not.
You can add multiple sheets to the same file where each sheet is the usecasename. These sheets would contain the scripts name related to each use case. Have another column for the browser. Multiple browsers should be separated by comma.

Hope the Below example would help.

MasterSheet: SHould contain the below column name
UseCaseName Execute
UC01 Y
UC02 N
UC03 Y

UC01 (UseCaseSheet):
ScriptName Execute Browser
UC01_TC01 Y IE
UC01_TC02 Y IE,Chrome
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 281 11-05-2023, 03:55 PM
Last Post: lravi4u
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,028 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,553 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Child object shwetakondekar 0 2,033 07-01-2015, 03:28 PM
Last Post: shwetakondekar
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,425 09-02-2014, 10:01 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)