Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

WebDriver with jQuery jqGrid?

View previous topic View next topic Go down

WebDriver with jQuery jqGrid?

Post by ccnnll on Mon Dec 19, 2011 11:15 pm

Has anyone implemented Webdriver test automation with a jQuery jqGrid control? http://www.trirand.net/demophp.aspx

Seems like it should be possible (uniquely defined IDs for finding the elements etc) but I can't seem to get straight forward clicks on column headers or get texts on cells to do anything. Also tried the Actions APIs a bit but no success so far.


Last edited by ccnnll on Mon Dec 19, 2011 11:18 pm; edited 1 time in total (Reason for editing : link)

ccnnll

Posts : 6
Join date : 2011-12-03

Back to top Go down

Re: WebDriver with jQuery jqGrid?

Post by ccnnll on Wed Dec 21, 2011 4:48 am

Incase anyone runs into this... I didn't realize it was in an iFrame. As soon as I added a switchTo - the methods worked as expected.

Code:
driver.switchTo().frame("demoFrame");

ccnnll

Posts : 6
Join date : 2011-12-03

Back to top Go down

Re: WebDriver with jQuery jqGrid?

Post by loneDriver on Wed Mar 13, 2013 5:19 am

I had the same problem, and then I realized that
the page takes a while to load the jqgrid into a table. So I did a
wait.until method and I was able to grab the rows. I will also try the
switching into it.

loneDriver

Posts : 1
Join date : 2013-03-13

Back to top Go down

Re: WebDriver with jQuery jqGrid?

Post by Sponsored content Today at 5:10 pm


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