Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

selenium script promotion from local environment to QA and Production

Posted on 2013-12-19
2
Medium Priority
?
336 Views
Last Modified: 2014-01-09
Hi,

I have bunch of selenium scripts that are working perfect on local environment with url
http://localhost:8080/VendorApp

Now I am going to deploy them in QA(http://QA:8080/VendorApp
) and Production envoronmnets(http://prod:8080/VendorApp)
. How do I modify existing selenium scripts to run in higher environments.
Do I need to rerecord the selenium test scripts again. Or existing test scripts works fine by tweaking the URL. Does jsf element id's for text boxes, dropdowns, search buttons etc remain same or do they change.

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 39730790
This is where the (previous given) advice to use Selenium Webdriver would solve your issues. Yes, there may be a bit of extra work to using the Webdriver API rather than just recording scripts in the IDE but it will pay off.

Also, because it wasn't clear in your other question (http://www.experts-exchange.com/Programming/Languages/Java/J2EE/Q_28322258.html) that you only have recorded "scripts", this move from the IDE to using Webdriver API will be necessary in order for you to run the selenium tests via JUnit and therefore for them to be run automatically.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39738593
If I move to web driver where i make the environment change. Pleas advise
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The Quality Assurance engineer of an Agile scrum team must "own" the acceptance criteria for sprint tasks.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question