1. #1
    Ext User
    Join Date
    May 2009
    Location
    Atlanta
    Posts
    1
    Vote Rating
    0
    Theresa is on a distinguished road

      0  

    Default Grid row selection with watij

    Grid row selection with watij


    I am currently using GWT-EXT for my webapp and am attempting to implement watij junit test cases to automate my regression testing. On screens containing GWT Grid(s), the selection of a grid row enables the lower portion of the screen to display additional details about the item selected. I am having difficulty simulating a rowclick via watij, and was wondering if anyone could help me out.

    So far, I can find the Table in question (className = "x-grid3-row-table"), and I can iterate through its rows and cells to find data. My problem is "How do I simulate a rowclick?". I have references to the Table in question (myTable), the Row in question (myRow), the Cell in question (myCell), and the Div in question (myDiv), but I do not have access to the actual Grid or an Event (is there are way to obtain these via watij??)

    I have tried the following (all to no avail, or to the avail of "InvocationTargetException"):

    myRow.click();
    myCell.click();
    myDiv.click();
    myRow.fireEvent("onClick");
    myCell.fireEvent("onClick");
    myDiv.fireEvent("onClick");
    myRow.fireEvent("rowclick");
    myRow.fireEvent("rowdblclick");

    Do I need additional parameters or a different method? If I need different parameters (and they are not obvious), how do I obtain them?

    Alternatively, if anyone has another suggestion for a (free) tool to automate UI regression testing (non-recording), that information would be welcome as well.
    Last edited by Theresa; 19 May 2009 at 12:59 PM. Reason: Clarification

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi