Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Arahant
Active particpant
Active particpant
Posts : 23
Join date : 2012-02-29

Dear team following some challenges which i'm facing. Empty Dear team following some challenges which i'm facing.

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
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

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

Mon Jun 11, 2012 7:20 pm
Interview Questions?
avatar
Arahant
Active particpant
Active particpant
Posts : 23
Join date : 2012-02-29

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

Tue Jun 12, 2012 2:51 pm
Challenges which i am facing...
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

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

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.
avatar
Arahant
Active particpant
Active particpant
Posts : 23
Join date : 2012-02-29

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

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.
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

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

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?
avatar
Arahant
Active particpant
Active particpant
Posts : 23
Join date : 2012-02-29

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

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
Sponsored content

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

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