Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automating a frequently updated website
#5
Not Solved
my solution to tackle this was to use business components. Lets use the 2 textboxs(text1, text2) and submit(btnsearch) button search example. Instead of a Search function that took 2 parameters populated the textboxes and clicked submit, I created a Settextbox(id, value) and Click(objid) component. I then created a test plan that called Settextbox("text1","string"), Settextbox("text2","string"), click("btnsearch"). this allows me to create any populate, click, set scenario I can think of. So far, after 3 complete site rewrites, the only issues I have with the framework is when the developers add critieria like a 3rd textbox or if they change the button name or text. After some consolidation in a framework, I have about 20 components, using descriptive programming, that I can test 30 websites with and rarely encounter a scenario i can't test. Even when a new scenario occurs, my BCs and framework have still worked, I just have to rearrange the order or use a better DP description to get the test to work.

PS: We are using Quality Center to drive all this, but I did once use the framework and a "Driver" script to call the functions manually. this option does create a little more work than the QC option, but is still doable.
Reply


Messages In This Thread
Automating a frequently updated website - by Muji - 07-14-2010, 03:49 PM
RE: Automating a frequently updated website - by jsknight1969 - 02-18-2011, 01:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT Crashes Frequently PremShanmugam 1 2,032 09-21-2016, 10:00 AM
Last Post: Ankur
  allow HP products check box option automating vinni 0 2,146 07-23-2014, 11:12 AM
Last Post: vinni
  Automating Objective c++ Application QtpDoubts 2 4,634 05-23-2014, 04:34 PM
Last Post: excellentpawan123
  Automating Mozilla FireFox Browser Achuth 0 2,040 04-15-2014, 04:13 PM
Last Post: Achuth
  Automating JavaCanvas Object priyan 0 2,059 03-04-2014, 12:33 AM
Last Post: priyan

Forum Jump:


Users browsing this thread: 2 Guest(s)