Solved

selenium script promotion from local environment to QA and Production

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
glassfish admin console 1 48
Tomcat 9 + java 8 error while trying to deploy a war file 2 853
Java import explained 4 48
junit initializtion error 2 21
Introduction I've been in the software industry for over 20 years. I've interviewed at lots of companies, from start ups in stealth mode to some of the biggest and most successful. I've also conducted lots of interviews, especially as I've become a…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 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.
Suggested Courses

734 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