Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Branching in Keyword driven...
#1
Not Solved
Hi,
Any of you have worked in Keywork driven framework?

Could you please tell me how you achieve branching?
Say.. i have Page A, B , C and D
Page C might come after B or might not. It depends on the 3rd party response when i submit Page B which we can not predict. If it comes, we need to enter few information and Submit C. (i have many conditions like this. it s just an example)

My current framework is completely different. Thinking of changing it to Keyword driven for easy maintenance.

Experts, plz let me know how you achieve this flow in keyword driven framework.
Reply
#2
Not Solved Wink 
Hi,

Please refer the below link

Keyword Framework Demo

Hope it will help to give some basic understanding about keyword framework.



Reply
#3
Not Solved
Hi Saini...thx for responding...my question is different...
I have attached the snapshot of the framework i am trying to implement now...

This xls snapshot will instruct QTP to find the objects and enter/select the data.
I have also come up with classes to read this and do the tasks which is working gr8...

here, I have assumed that all the steps in the spreadsheet has to be done one by one...

Ex. in the step 1, QTP clicks a link.
In step 2, QTP should get a textbox to enter firstname. if not, test case fails.

But..lets assume that firstname textbox may come or may not come.. if it comes, it becomes mandatory to enter the name...if it does not appear, it s fine as it s obvious that no need to enter..

how to achieve this in my framework?

guys..plz provide your valuable suggestion....


Attached Files Image(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Data Driven Concept s.tambi 1 2,760 04-23-2015, 03:00 PM
Last Post: s.tambi
  Need an Excel Driven web Program - Ready to Pay as well mayajain 0 1,691 04-22-2015, 05:21 PM
Last Post: mayajain
  Keyword view RafiMahammed 2 3,139 10-15-2012, 05:35 PM
Last Post: RafiMahammed
  Condition/Outcome Branching within Script danielrose01 3 3,251 06-13-2012, 10:29 AM
Last Post: sshukla12
Cool how to re-enable Keyword tab dol_fin 2 4,639 03-05-2012, 11:23 AM
Last Post: Saajo87

Forum Jump:


Users browsing this thread: 1 Guest(s)