Solved

selenium script promotion from local environment to QA and Production

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

617 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