How to Copy and Paste from Excel in GUI Application ?

105 views
Skip to first unread message

saiva jeyaraman

unread,
Jan 10, 2014, 4:09:03 AM1/10/14
to seleniu...@googlegroups.com
 hi All , 

 while running the selenium text is entering value as each character if i wanna enter more then 20000 words in particular text area , it takes too much time to complete for entering values. Is it possible to make copy and paste method. if any one know about this concept please let me know. 

Babu please help me for this. 



thanks, 
saivadurai 


Oscar Rieken

unread,
Jan 10, 2014, 10:03:07 AM1/10/14
to seleniu...@googlegroups.com
Not sure how this is related to Selenium. you may want to look into how to access excel documents in our preferred programming language. then take that data and pass it to selenium.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3af16235-e77f-448a-8bac-81af64f48d83%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Afzal

unread,
Jan 11, 2014, 1:37:52 AM1/11/14
to seleniu...@googlegroups.com
Hi Jeyaraman,

are you looking for selenium script to handle text area should take values from Excel.

Regards,
Afzal

hari nath

unread,
Jan 13, 2014, 12:48:45 AM1/13/14
to seleniu...@googlegroups.com
Hi Afzal,
Yes i need to take values from Excel.



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Thanks & Regards
   HARINATH.S

nani.thrinath.info

unread,
Jan 13, 2014, 11:06:36 PM1/13/14
to seleniu...@googlegroups.com
FileInputStream fi= new FileInputStream("E:\\eclipse\\workspace\\spicejet\\Object Repository\\Excel1.xls");
Workbook wb=Workbook.getWorkbook(fi);
Sheet ws=wb.getSheet("HomePage");
driver.findElement(By.xpath("//*[@id='routemapAction']")).getAttribute("title").equalsIgnoreCase(ws.getCell(2, 3).getContents());


Regards,
Thrinath



For more options, visit https://groups.google.com/groups/opt_out.



--
Thrinath
Reply all
Reply to author
Forward
0 new messages