Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Dear team following some challenges which i'm facing.

View previous topic View next topic Go down

Dear team following some challenges which i'm facing.

Post by Arahant on Mon Jun 11, 2012 6:17 pm

Dear All,

1)What is the use of JavascriptExecutor.
2)How to handle hidden web element.
3)How to append screen shots in testNG report file.
4)What is the best way of report emailing (Report should easy to understand).
5)How to handle CSS drop down items one by one at a time (Could be in loop no problem).
6)How to Make own xpaths without firebug.

If anybody having ideas and formation about all above query,kindly provide me coding along with procedure.


Thanks,
Arahant

Arahant
Active particpant
Active particpant

Posts : 23
Join date : 2012-02-29

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by tarun3kumar on Mon Jun 11, 2012 7:20 pm

Interview Questions?

_________________
Thanks
Tarun K
Free Selenium Training

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by Arahant on Tue Jun 12, 2012 2:51 pm

Challenges which i am facing...

Arahant
Active particpant
Active particpant

Posts : 23
Join date : 2012-02-29

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by tarun3kumar on Tue Jun 12, 2012 3:36 pm

Lets see them one by one. What issues did you face with -


1)What is the use of JavascriptExecutor.

_________________
Thanks
Tarun K
Free Selenium Training

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by Arahant on Tue Jun 12, 2012 4:13 pm

Thanks for your reply.

As my TL said to implement all above stuff.
as per his requirement , I want to use them in my project.So it would be better if u explain usages and some sample code.I tried it searching in Google unable to find the same.Please do the needful.

Arahant
Active particpant
Active particpant

Posts : 23
Join date : 2012-02-29

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by tarun3kumar on Wed Jun 13, 2012 1:29 pm

Google on "selenium + java script execution" returns many results and I am sure so as search on other terms you mentioned. Did you go through any of those search results?

_________________
Thanks
Tarun K
Free Selenium Training

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by Arahant on Wed Jun 13, 2012 4:40 pm

Yes, will take one by one.

2) How to handle hidden web element : In my project having Clickable drop down.When you click on an item the drop down will retain there only and page will change with respective to the clicked item.For this scenario i used as

public static void selectValue(String valToBeSelected)
{
Select select = new Select(driver.findElements(By.id("option")));
select.selectByIndex(3);
}

From this I'm able to select third index of item.But my interest is to select one by one.And also tried with for loop as

try{
for(int i = 0 ; i<= names.size();

{

Select select = new Select(driver.findElement(By.xpath(ORproperties.quiecklnk)));
select.selectByIndex(i);
Thread.sleep(3000L);
i++;
}
}catch (Exception e) {
// TODO: handle exception
}

Not working.may be page is getting refresh so that unable to find the second index of item....

Along with above one more scenario is that mouse over drop down list need to handle in same way..

Thanks,
Arahant

Arahant
Active particpant
Active particpant

Posts : 23
Join date : 2012-02-29

Back to top Go down

Re: Dear team following some challenges which i'm facing.

Post by Sponsored content Today at 8:57 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