Search found 9 matches

by Jeff
Mon Nov 07, 2016 5:16 pm
Forum: Mobile Testing
Topic: set text in iOS element crashes it
Replies: 3
Views: 1722

Re: set text in iOS element crashes it

Hi,

If I correctly understand your question, could you try:
<ElementPath>.SetAttributeValue("name", "value");
Is it what you're waiting for?

Regards,
Jeff
by Jeff
Wed Oct 19, 2016 5:07 pm
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Hi,

Solved, thanks for your response.

Regards,
jeff
by Jeff
Wed Oct 19, 2016 5:06 pm
Forum: Automation API
Topic: Restart current testcase
Replies: 1
Views: 2185

Re: Restart current testcase

Hi, This post is very old but for thus like me who wanted to know the response to the question. In order to add the logs to write in the report when you start manually a test case, add: TestReport.BeginTestCase("you test case"); test_case.Run(test_case.DataContext, false); TestReport.EndTestcase(); ...
by Jeff
Mon Oct 17, 2016 4:49 pm
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Hi, Thanks a lot it's exactly what I needed! :P However I couldn't find anywhere how to launch several tests cases with code or command line, except by group this test cases inside a run config. So how to create a run config and add tests inside with code? Or how to launch several tests with one com...
by Jeff
Mon Oct 17, 2016 9:46 am
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Hi,

Thanks odklizec. In the popup handler, I'm only able to get the name of the current recording and not the test case.
So I can't replay the test case no?

Thanks,
Regards

Jeff
by Jeff
Fri Oct 14, 2016 11:09 am
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Thanks jma, I will use it in combination with odklizec answer, to force the test case to fail, warn the user and replay the test at the end. I write the test cases in a temporary file, at the end I recover the test cases names as strings. I want to launch this tests, but I'm not able to find how I c...
by Jeff
Wed Oct 12, 2016 2:02 pm
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Hi odklizec, Thanks for your response, I will find a way like yours to replay the failed test cases after the run. I will read carrefully your link, Or maybe it will be very usefull to do like this for me: -The popup appeared (OK) -The popup watcher run my function (OK) -My function break my recordi...
by Jeff
Wed Oct 12, 2016 9:33 am
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Re: Replay a test inside user code

Hi Vega, Thanks for your response, but it's not exactly what I want to do. My post isn't clear, so here is exactly the behavior I expect: I've a lot of recordings, inside different tests cases. In each tests a popup can appear, and I catch it thanks to the PopupWatcher. This PopupWatcher launch a fu...
by Jeff
Mon Oct 10, 2016 3:07 pm
Forum: Mobile Testing
Topic: Replay a test inside user code
Replies: 11
Views: 2407

Replay a test inside user code

Hi, In our app we have an unexpected popup, which I can catch thanks to the codes examples in the doc. When the popup appeared, I want to replay the test but I can't find anywhere how to do it. :cry: If you need more details or you have any solutions, i'd be happy to discuss about it. Thanks Regards...