4
Answers

Watin for dynamic web?

kubi200540 .

kubi200540 .

10y
915
1
I had use in the past Firebug to identify elements on a web page and then created windows app with c# and watin to interact with those pages. The problem is that I encounter this web page that can only be seen with IE 9 ( firebug is out of the picture) and most elements are created dynamically. Is there anything to read those elements and/or a place for watin references to interact with parent/child, thanks
Answers (4)
0
Iftikar Hussain
NA 18.9k 275.5k 11y
Hi,
        Try like this, use unadorned:yes;

ScriptManager.RegisterStartupScript(this, typeof(Page), UniqueID, "javascript:var ans = window.showModalDialog('TransactionHistoryDetail.aspx?' + '&rowID=" + rowID + "&Type=" + OrderType + "&OrderNo=" + OrderNo + "', 'unadorned:yes;dialogWidth=1000px;dialogHeight=700px;resizable: yes;dialogLeft=' + ((screen.width - 1000) / 2) + ';dialogTop=' + (screen.height - 700) / 2 + ''); ", true);

Regards,
Iftikar