Search found 210 matches

by SanMan
Fri Jul 17, 2020 5:09 am
Forum: General Questions
Topic: Report or file could not be created
Replies: 2
Views: 901

Re: Report or file could not be created

HI, it's Reports ;) It must be something wrong with this virtual Pc & slave that it cannot "access" O:\Reports_ folder. I do now know why because I can browse it without problem with explorer. And now this problem has gone....just started slaves again (which I did try yesterday also) :o :twisted:
by SanMan
Thu Jul 16, 2020 12:00 pm
Forum: General Questions
Topic: Report or file could not be created
Replies: 2
Views: 901

Report or file could not be created

Hi, after windows update got this error when trying to run tests (via Jenkins) [Failure][TestSuite]: The report file or directory could not be created. Could not find a part of the path 'O:\Reports With another remote pc (which did not got updated&re-started), test can be run without problem. O:\Rep...
by SanMan
Mon Feb 24, 2020 1:27 pm
Forum: General Questions
Topic: Report and auto generated screen shot
Replies: 3
Views: 963

Re: Report and auto generated screen shot

We have had a problem that randomly there is no screenshot when validation fails.

Have to dig out more info and way to reproduce this error.
by SanMan
Thu Feb 20, 2020 1:59 pm
Forum: General Questions
Topic: Report and auto generated screen shot
Replies: 3
Views: 963

Report and auto generated screen shot

public static class Validate

Should all this validations auto generate screenshot to report if the validation fails?
by SanMan
Wed Feb 12, 2020 6:41 am
Forum: General Questions
Topic: Image validation with different image
Replies: 2
Views: 1041

Image validation with different image

Hi, I have a recording with image validation. If I want to use this same image validation with different image (meaning validating the same area where image is displayed), can I call the validation recording with parameter (image number) that I want to validate now? Do I need to convert this recordi...
by SanMan
Mon Dec 16, 2019 11:45 am
Forum: General Questions
Topic: Validate text color
Replies: 1
Views: 972

Validate text color

I have a table and there is a text with some color: /row[@index='0']/cell[@content='<html><style>body {font: 11 Tahoma; color:#FF00FF}... What is the best way to validate the text color? Should I save the content to String and then search the "color:" and read the value? Or is there some better ways...
by SanMan
Mon Aug 12, 2019 9:54 am
Forum: General Questions
Topic: Javascript usage with Ranorex
Replies: 5
Views: 1836

Re: Javascript usage with Ranorex

Hi,

thank you so much for your answer!!

Have to check it out now :) :)
by SanMan
Mon Aug 12, 2019 9:01 am
Forum: General Questions
Topic: Javascript usage with Ranorex
Replies: 5
Views: 1836

Re: Javascript usage with Ranorex

Bootstrap? What is this and and Ranorex has no problems with it :) ?

webDocument.ExecuteScript("history.back();");

Should I do the query somewho with this?
by SanMan
Mon Aug 12, 2019 8:53 am
Forum: General Questions
Topic: Javascript usage with Ranorex
Replies: 5
Views: 1836

Re: Javascript usage with Ranorex

Hi,

is it so that Ranorex Spy should show that button in question is not valid?
by SanMan
Mon Aug 12, 2019 8:45 am
Forum: General Questions
Topic: Javascript usage with Ranorex
Replies: 5
Views: 1836

Javascript usage with Ranorex

Not a coder so hopefully someone can understand what I am trying to explain... Have a web page and there is a table with buttons. img1.PNG I need to validate if the button is valid or not. If I check with Spy, I get that both buttons are Enabled, Valid and Visible. (and button 1 is not) If I use Chr...
by SanMan
Fri May 31, 2019 7:55 am
Forum: General Questions
Topic: Using/reading SqlDataConnector
Replies: 2
Views: 1054

Re: Using/reading SqlDataConnector

It was easy:

var dataConn = DataSources.Get("<connection_name>");
string one_name = dataConn.Rows[1].Values[2];

And I do not need to bind <connection_name> to test suite to use it. :)
by SanMan
Wed May 29, 2019 5:36 am
Forum: General Questions
Topic: Using/reading SqlDataConnector
Replies: 2
Views: 1054

Re: Using/reading SqlDataConnector

https://www.ranorex.com/forum/how-to-do-a-sql-connector-in-a-usercode-module-t8914.html This is something I am looking for. Is there somewhere in user guide or code example how to create this connection? Can I use/utilize the data source I have already created? "Once added to a test suite, the data ...
by SanMan
Tue May 28, 2019 1:32 pm
Forum: General Questions
Topic: Using/reading SqlDataConnector
Replies: 2
Views: 1054

Using/reading SqlDataConnector

Hi,

I have created an SqlDataConnector.

Can I use/access it from user code somehow?

I do not want to use it like "Data source" added to testcase.

Just want to read the data from some points while running the test.

Can I read the data with user code somehow?
by SanMan
Thu May 23, 2019 10:10 am
Forum: Mobile Testing
Topic: Swipe down on Android homescreen
Replies: 1
Views: 1902

Swipe down on Android homescreen

I want to swipe down on Android home screen to see notifications. How can I do it. Report.Log(ReportLevel.Info, "Touch gestures", "Swipe gesture with direction 'Down (90°)' starting from 'Center' with distance '5.0' with swipe duration'500ms' and step count '0' on item 'AndroidOS.TitleLine'.", repo....
by SanMan
Thu May 09, 2019 11:14 am
Forum: General Questions
Topic: Disable ethernet
Replies: 8
Views: 1262

Re: Disable ethernet

Hi McTurtle, just copy & paste your code and now it is working!! I got some error from debug but when commented it out, works like a charm :) 00:09.449 Error Module Jump to item View Help Cannot read keys when either application does not have a console or when console input has been redirected from ...