Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Css/Xpath changes affecting the Selenium automation Effeciency

View previous topic View next topic Go down

Css/Xpath changes affecting the Selenium automation Effeciency

Post by madan275 on Mon Feb 24, 2014 4:03 pm

Hi All,

I am using Selenium Web driver from last 1year,  i have Developed End-to-End Automation Test Scripts capturing Css/Xpath  for our web application. As part of Agile model, there are changes in Css/Xpath's in every Sprint releases for which i need to find those changes and update everytime, which is timetaking. For every realease we have only 5 days time, but its taking 2 days for me to make the Xpath/Css  changes accordingly and in remaining 3days i am not having time to execute my End-to-End scripts with Wider, which is really impacting the Automation process.

Example:

Say in Sprint2 i have some css like div.itenary-date>span.value.
In Sprint3 its changing as            div.itenary-date>div>span.value


Can anybody tell me the solution for how to maintain this Css/Xpath changes for every build

Regards,
Madan

madan275

Posts : 1
Join date : 2014-02-24

Back to top Go down

Xpath

Post by nitin15790 on Thu Mar 06, 2014 9:59 pm

What is Xpath? How we can use xpath in selenuim webdriver to identify objects?

nitin15790

Posts : 1
Join date : 2014-03-06

Back to top Go down

Re: Css/Xpath changes affecting the Selenium automation Effeciency

Post by ccox on Sat Mar 08, 2014 1:47 am

nitin15790 wrote:What is Xpath? How we can use xpath in selenuim webdriver to identify objects?
 Do some research first.  driver.findElement(By.xpath("xpathLocation")).click();

To the original post, I would highly suggest having the developers put IDs on these elements. From my understanding this is a simple and best practice that most developers should do anyway. With an ID, you won't run into these issues of having to tweak your scripts every time a new sprint comes around. If your organization values the effort put towards your automation, they should be considering your time to better their processes.

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: Css/Xpath changes affecting the Selenium automation Effeciency

Post by Sponsored content Today at 8:12 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum