Solved

selenium script promotion from local environment to QA and Production

Posted on 2013-12-19
2
285 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
2 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ArrayIndexOutOfBoundException 9 85
Java DateChooser? 3 39
How to only allow authenticated (logged in) users to access Spring restful service 3 64
MySQL  on Tomcat 8 48
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

825 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