Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to fix scripts if browser name has changed
#1
Solved: 10 Years, 9 Months ago
Hi, the vendor of our online application decided to change the name of browser, we have hundred of test scripts for our regression test suite. Is there an easy or a way to fix our scripts?

thanks
Reply
#2
Solved: 10 Years, 9 Months ago
Here are few Solutions:

- If there is any similarity between the presious and current one then use Regular expression.
- Export you object rep in XML and replace all the browser object present in it with the new name
- If you have a shared object repository and have recorded the browser object once then use UPDATE RUN and choose the option to update the objects as well. But make sure you update the line which doesn't affect any of you script or framework.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,472 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Issue in running Scripts on Edge browser Deepa_m 0 1,531 12-01-2017, 04:36 PM
Last Post: Deepa_m
  QTP11.0 - Date format is changed as text while executing the QTP script. Automation Tester 1 3,904 05-30-2014, 01:25 PM
Last Post: Tarik Sheth
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,827 09-19-2013, 03:02 PM
Last Post: ACCBAJPA
  QTP key issue fix kprasadbio 1 3,048 05-04-2013, 10:47 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 2 Guest(s)