Solved

selenium script promotion from local environment to QA and Production

Posted on 2013-12-19
2
260 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumHeights2  challenge 7 76
wordmultiple challenge 12 90
Java passing arguments (type error) 2 35
backtracking recursion  code 19 40
Software development teams often use in-memory caches to improve performance. They want to speed up access to, or reduce load on, a backing store (database, file system, etc.) by keeping some or all of the data in memory.   You should implement a …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now