Search found 8 matches

by gisiman
Wed Jan 06, 2010 5:42 am
Forum: Object Identification and Technologies
Topic: GetDocument(Control) method is gone?
Replies: 9
Views: 3054

Re: GetDocument(Control) method is gone?

Thanks Ciege.

Already I have tried it. but I got same result.

In my code, webDoc is correct instance of Web Browser control.
hum..I don't know what I do next try.. :cry:
by gisiman
Tue Jan 05, 2010 7:54 am
Forum: Object Identification and Technologies
Topic: GetDocument(Control) method is gone?
Replies: 9
Views: 3054

Re: GetDocument(Control) method is gone?

u are right. 'Form1' is correct name. so I can use instance of web browser control in From1. but Navagate method don't run. //this Code run correctly webBrowserControl1.Navigate("about:blank"); Form frmThis = "/form[@controlname='Form1']"; WebDocument webDoc = frmThis.FindDescendant<WebDocument>(); ...
by gisiman
Mon Jan 04, 2010 7:51 pm
Forum: Object Identification and Technologies
Topic: Performance for FindSingle(..)
Replies: 3
Views: 3586

Re: Performance for FindSingle(..)

Thanks Ciege!. In my case. target Input text's full path is this: //body/div[@id='wrapper']/div/div/div[@id='center']/form[@name='form1']/table/tbody/tr/td/table[3] /tbody/tr[2]/td/table/tbody/tr[2]/td/table/tbody/tr/td[1]/table/tbody/tr[1]/td/table/tbody/tr[1] /td[@innertext='  ']/input[@name='txtM...
by gisiman
Mon Jan 04, 2010 2:51 am
Forum: Object Identification and Technologies
Topic: GetDocument(Control) method is gone?
Replies: 9
Views: 3054

Re: GetDocument(Control) method is gone?

Form frmMain = "/form[@controlname='form1']"; WebDocument webDoc = frmMain.FindSingle("//webdocument"); webDoc.Navigate("http://www.naver.com"); webDoc.WaitForDocumentLoaded(); 1line occur error "Ranorex.ElementNotFoundException: No element found for path '/form[@controlname='form1']' within 10s....
by gisiman
Sun Jan 03, 2010 9:35 pm
Forum: Object Identification and Technologies
Topic: Performance for FindSingle(..)
Replies: 3
Views: 3586

Performance for FindSingle(..)

I'm testing trial version 2.2 (Dev env: WinXP SP3, VS2008, WebTestPureAPI) I have a performance issue with following: // Call explorer.exe System.Diagnostics.Process.Start("iexplore.exe", "www.ranorex.com/web-testing-examples"); WebDocument webDoc = "/dom[@caption='Ranorex Test Page']"; webDoc.Navig...
by gisiman
Sun Jan 03, 2010 4:43 pm
Forum: How To …
Topic: How to include Repository and generated c# files in VS2008?
Replies: 1
Views: 4492

How to include Repository and generated c# files in VS2008?

how to include repository *.rxrep and generated c# *.repository.cs file to vs2008 solution tree?
by gisiman
Sun Jan 03, 2010 3:23 pm
Forum: Object Identification and Technologies
Topic: GetDocument(Control) method is gone?
Replies: 9
Views: 3054

Re: GetDocument(Control) method is gone?

I don't understand suggested code.
what is 'pathToWebBrowserForm'?

My C# App have form1 and web browser contrl name is webbrowser1 in form1.
How can I write code in this case?
please write example code..
by gisiman
Sat Jan 02, 2010 8:04 pm
Forum: Object Identification and Technologies
Topic: GetDocument(Control) method is gone?
Replies: 9
Views: 3054

GetDocument(Control) method is gone?

now I am testing Ranorex 2.2(using trial version)

How can I create the instance of the WebDocument object related to the instance of the WebBrowser control in Ranorex v2.2?