Search found 33 matches

by kumprave5
Fri Aug 24, 2018 3:41 pm
Forum: General Questions
Topic: Some plugin issue shows in the report
Replies: 3
Views: 997

Re: Some plugin issue shows in the report

Here, I am little confused if it is failed to look up for 'id' attribute then how it verified the element successfully? _finalXpath = ".//flexobject[@movie='C:\web\webapps\app.swf']//container[@id='totalDisplay']//text[@id~'subtotalAmtLbl'] "; _maxTimeToFind = 100; IList<Ranorex.Core.Element> abcEle...
by kumprave5
Thu Aug 23, 2018 4:54 pm
Forum: General Questions
Topic: Some plugin issue shows in the report
Replies: 3
Views: 997

Some plugin issue shows in the report

Hello,
Please look at the attachment.
Element found successfully and performed the desired action but still an extra plugin issue always shows in the report (Marked in red circle), I don't know the root cause of this. Please suggest how do I get rid of this extra statement.
by kumprave5
Thu Aug 23, 2018 4:13 pm
Forum: General Questions
Topic: how to create window application/dialog box
Replies: 2
Views: 1507

Re: how to create window application/dialog box

Thank you so much. This is exactly what I was looking for.
by kumprave5
Tue Aug 21, 2018 6:09 pm
Forum: General Questions
Topic: how to create window application/dialog box
Replies: 2
Views: 1507

how to create window application/dialog box

I am using below code to create windows form, it creates an empty form. I mean I have added ListBox but it is not visible in the window. (Please see screenshot) public partial class Form1 : Form { public Form1() { // The InitializeComponent() call is required for Windows Forms designer support. Init...
by kumprave5
Fri Aug 10, 2018 3:43 pm
Forum: General Questions
Topic: Error in counting total failed count
Replies: 1
Views: 1267

Error in counting total failed count

Hi, I am getting failed count zero. void ITestModule.Run() { Script sc = new Script(); try { Report.CurrentReportLevel = ReportLevel.Info; TestReport.EnableTracingScreenshots =false; sc._startBrowser("chrome.exe", "https://www.google.com/"); WebDocument wd ="/dom[3]...forcefully failing this"; LogUt...
by kumprave5
Fri Aug 10, 2018 1:58 pm
Forum: General Questions
Topic: Desktop application error
Replies: 3
Views: 1133

Re: Desktop application error

Hi RobinHood42 Sorry to say, but this is not working for me. It throws exception " Explicitly Ranorex.Control can't cast to Ranorex.Flexobjec t" so I just changed this line to Ranorex.FlexObject ctrl =Ranorex. FlexObject .FromPath("same rxpath thing here"); I found an article provided by Ranorex but...
by kumprave5
Thu Aug 09, 2018 4:30 pm
Forum: General Questions
Topic: Current test Container and Activity not working
Replies: 8
Views: 1918

Re: Current test Container and Activity not working

Yes, it worked for me. Thank you so much.
by kumprave5
Thu Aug 09, 2018 1:19 pm
Forum: General Questions
Topic: How do i verify each teststep and continue on failure
Replies: 5
Views: 1333

Re: How do i verify each teststep and continue on failure

I would like to know your way of doing the same thing. For instance, you have a test case with 4 steps (open browser, navigate to url, click on button, close application). Then how would you log messages for each step being executed successfully or not? I believe collecting your thoughts of doing th...
by kumprave5
Thu Aug 09, 2018 1:08 pm
Forum: General Questions
Topic: How to Use ErrorBehaviour in code module?
Replies: 3
Views: 1406

Re: How to Use ErrorBehaviour in code module?

No, I don't want to use ranorex test suite, I need to write the code to handle the Errorbehaviour . I am not able to find any API Documentation on how to use ErrorBehavior.ContinueParent in code module? var beh = ErrorBehavior.ContinueParent; class="text-strong"> LogUtility._info(beh.ToString());
by kumprave5
Wed Aug 08, 2018 9:32 pm
Forum: General Questions
Topic: Desktop application error
Replies: 3
Views: 1133

Desktop application error

I am trying to convert recording (Please see screenshot) into below mentioned code module void ITestModule.Run() { Host.Local.RunApplication(@"C:\org\application\NETComponents\random.exe"); Ranorex.Delay.Milliseconds(10000); Ranorex.Control ctrl = Ranorex.Control.FromPath("/form[@controlname='Flash'...
by kumprave5
Wed Aug 08, 2018 1:16 pm
Forum: General Questions
Topic: unable to find dom
Replies: 3
Views: 1067

Re: unable to find dom

If possible, can you please suggest your way to interact with web browser?
by kumprave5
Tue Aug 07, 2018 10:11 pm
Forum: General Questions
Topic: unable to find dom
Replies: 3
Views: 1067

unable to find dom

1. unable to find dom but still status is success but surprisingly going into catch block. void ITestModule.Run() { var tm=TestReport.CurrentTestModuleActivity; Script sc = new Script(); try { Report.CurrentReportLevel = ReportLevel.Info; TestReport.EnableTracingScreenshots =false; sc._startBrowser(...
by kumprave5
Tue Aug 07, 2018 8:33 pm
Forum: General Questions
Topic: How to Use ErrorBehaviour in code module?
Replies: 3
Views: 1406

How to Use ErrorBehaviour in code module?

Hello, Please look at the screenshot, I want if TC01 fail then continue with TC02 or it siblings using code. How do I do that? Namespace Workshop.Web { [TestModule("F1A7D951-2CFE-4D8B-A568-037DBE1CCC99", ModuleType.UserCode, 1)] public class TestCaseRunner : ITestModule { public TestCaseRunner() { }...
by kumprave5
Tue Aug 07, 2018 3:29 pm
Forum: General Questions
Topic: Current test Container and Activity not working
Replies: 8
Views: 1918

Re: Current test Container and Activity not working

For example: I have 2 smart folder and under each smartfolder there are 4 test cases and under each test case there are 10 modules. Now, i want to know which module passed or failed, test case passed or failed under each smartfolder. Today, I tried below mentioned code, but in this status and TestRe...
by kumprave5
Mon Aug 06, 2018 1:16 pm
Forum: General Questions
Topic: How to run .rxtst from command line.
Replies: 4
Views: 3129

Re: How to run .rxtst from command line.

It is working now. Thank you for the help.