Search found 26 matches

by yinghu
Thu Aug 08, 2013 3:53 pm
Forum: Automation Tools
Topic: run recording on the same website with different domain?
Replies: 2
Views: 2315

Re: run recording on the same website with different domain?

Thanks alot for your quick response! I am guessing this is the best way to do that. Appreciated! You could edit all of those repository items and make the domain a variable that you set in a global parameter. That way you could just change the value of the Global Parameter. ORIGINAL PATH: /dom[@doma...
by yinghu
Thu Aug 08, 2013 3:15 pm
Forum: Automation Tools
Topic: run recording on the same website with different domain?
Replies: 2
Views: 2315

run recording on the same website with different domain?

Hi folks, I recorded a recording file for a site with domain starts with cc.auto. Now it was changed to cc.qa. I saw there were a lot of elements in the repository with cc.auto as an xpath. Is there an easy way to run this recording script on the new domain without re-recording it? Thanks in advance...
by yinghu
Fri Mar 01, 2013 3:39 pm
Forum: Automation API
Topic: Ranorex.Screenshot();
Replies: 7
Views: 3758

Re: Ranorex.Screenshot();

Thanks alot!!
hs.fk wrote:I think you probably encounter this bug:

XmlLogger.LogData produces no output : Bug Reports
by yinghu
Fri Mar 01, 2013 3:38 pm
Forum: General Questions
Topic: test runner
Replies: 6
Views: 2972

Re: test runner

Thanks Markus. That's a big help!

Support Team wrote:Hello,

We won't provide a web-based Test Suite Runner to execute your tests remotely.

We recommend to use a Continuous Integration Tool to manage your tests on different machines.
Please take a look at our blog.

Regards,
Markus (T)
by yinghu
Wed Feb 27, 2013 6:10 pm
Forum: Automation API
Topic: Ranorex.Screenshot();
Replies: 7
Views: 3758

Re: Ranorex.Screenshot();

This is what I get in the attachment using above code snippet. I am guessing there could be something wrong with my env. Let me see if I will get more other helps, or I will code the Ranorex.Screenshot() myself. Thanks, I got alot from you posts. Thanks buddy! Interesting... You seem to be doing pre...
by yinghu
Wed Feb 27, 2013 5:52 pm
Forum: General Questions
Topic: test runner
Replies: 6
Views: 2972

Re: test runner

Thanks Ciege! I got it. Yes, my colleague says if we get a web based version then we don't need to remote to or reach the runner machine all the time. And we can initiate the executable tests through web. I also think it is not difficult for them to build it themselves but they don't want to spent t...
by yinghu
Wed Feb 27, 2013 5:34 pm
Forum: Automation API
Topic: Ranorex.Screenshot();
Replies: 7
Views: 3758

Re: Ranorex.Screenshot();

Again, thanks alot Ciege! You help me alot!! Well, I didn't get any errors and the report was created. Just without any screenshots in the report and no any screenshot image in the folder where report file locates. Here is the code snippet: using Ranorex.Core.Reporting; ..... XmlLogger.SetReportStyl...
by yinghu
Wed Feb 27, 2013 5:16 pm
Forum: General Questions
Topic: test runner
Replies: 6
Views: 2972

Re: test runner

Thank you for your quick reply! The full name is called Ranorex Test Suite Runner which we are using to manage and run our compiled test projects without using Ranorex Studio. It is a GUI application. The interface is like when you open the .rxtst file in Ranorex Studio. I mean, if Ranorex provide w...
by yinghu
Wed Feb 27, 2013 5:31 am
Forum: Automation API
Topic: Ranorex.Screenshot();
Replies: 7
Views: 3758

Ranorex.Screenshot();

Hi folks, I'm developing automation test project using Ranorex APIs in Visual Studio with C#. And I'm trying to customize report with screenshots. Everything works great but Ranorex.Screenshot() can not create a shot in the report at all. I tried Ranorex.Screenshot() in Ranorex studio, it works well...
by yinghu
Wed Feb 27, 2013 2:25 am
Forum: General Questions
Topic: test runner
Replies: 6
Views: 2972

test runner

Hi folks,

I know Ranorex has test runner. I am wondering if Ranorex also has web-based test runner?

Thanks.
by yinghu
Thu Feb 07, 2013 7:30 pm
Forum: Automation API
Topic: How to close browser?
Replies: 12
Views: 9556

Re: How to close browser?

Actually, I track the web document path by Spy, it does exist. And this "browser" is a POPUP window which opened by javascript basically like: <script type="text/javascript">function LoadSiteManager(){ if (GetCookie('UserID') == '') { SetCookie('RedirectTo', '../Section/Section.aspx?DomainId=1090');...
by yinghu
Wed Feb 06, 2013 5:47 pm
Forum: Automation API
Topic: How to close browser?
Replies: 12
Views: 9556

Re: How to close browser?

Thanks alot for your link!

Unfortunately, it still can't close the browser.
sdaly wrote:Could be similar to this - http://www.ranorex.com/forum/browser-cl ... t3306.html
by yinghu
Mon Feb 04, 2013 10:23 pm
Forum: Automation API
Topic: How to close browser?
Replies: 12
Views: 9556

Re: How to close browser?

I tried all the things you mentioned. There is no luck for me. I still got the same exception as before. My Ranorex's version is 4.0. Hello, Which version of Ranorex do are you using? Here is a little code snippet which works as expected. Host.Local.OpenBrowser("http://www.ranorex.com", "IE"); Delay...
by yinghu
Fri Feb 01, 2013 8:41 pm
Forum: Automation API
Topic: How to close browser?
Replies: 12
Views: 9556

Re: How to close browser?

Thanks for your quick reply and mentioning try/catch thing!

I just tried "wd.Close();" and it failed same as the previous screenshot I uploaded.

Ciege wrote:How about just use

Code: Select all

wd.close
.
You should probably put it in a try/catch block to catch and handle any exceptions just in case.
by yinghu
Fri Feb 01, 2013 8:22 pm
Forum: Automation API
Topic: How to close browser?
Replies: 12
Views: 9556

How to close browser?

Hi folks,

Long time no see.:)

I am doing automation test using Ranorex APIs. Now I have a problem about closing browser windows.

Here attachment is the screenshot I got when I ran my test in Visual Studio.

Thanks alot in advance!

yinghu