HI slovelace,
do you try running 2 queries?
does it run on sql manager?
do you pass parameters to the query (I see many +)?
SqlCommand sqlComm = new SqlCommand(Put Here Your Command);
add try catch (SqlException) for ExecuteScalar.
Search found 16 matches
- Mon Jul 11, 2016 6:17 pm
- Forum: How To …
- Topic: How to do a SQL Connector in a UserCode Module
- Replies: 12
- Views: 6147
- Tue Jan 19, 2016 9:57 am
- Forum: How To …
- Topic: How to use Xpath Variable in Code Module (example)
- Replies: 0
- Views: 4154
How to use Xpath Variable in Code Module (example)
Hi All, I add an issue that was solved by support (Robert Prehm), just sharing it. for experts: just add your repo.XpathValue = yourCodeModuleVariable. for beginners: I will show how to use Variable in Xpath and then use it in a code module: 1. Browse http://www.ranorex.com/ 2. Add features menu chi...
- Thu Jan 07, 2016 1:49 pm
- Forum: General Questions
- Topic: How to use the object repository in code module
- Replies: 3
- Views: 1627
Re: How to use the object repository in code module
I can't find it, your repository seemed to be empty or I'm missing something. I can't download .cs file here (security issue), but i saw it in a different p.c. You can double click the file .rxrec, it will open at the studio. After it Expend each folder by the + (at the left). do you use more then o...
- Thu Jan 07, 2016 11:02 am
- Forum: General Questions
- Topic: How to use the object repository in code module
- Replies: 3
- Views: 1627
Re: How to use the object repository in code module
Hi Upendra,
your error just say it doesn't find this element, are you sure you have it (open it and expand)?
can you add the repository screen shot?
your error just say it doesn't find this element, are you sure you have it (open it and expand)?
can you add the repository screen shot?
- Thu Jan 07, 2016 10:55 am
- Forum: How To …
- Topic: How to do a SQL Connector in a UserCode Module
- Replies: 12
- Views: 6147
Re: How to do a SQL Connector in a UserCode Module
Hi kdreiling,
I would highly recommend to you to create a DB class (so you can use it anywhere at the test).
And manage the connection string at the app.config file.
You can create instance at the above user code and check relevant things (I do it a lot in my tests).
good luck
I would highly recommend to you to create a DB class (so you can use it anywhere at the test).
And manage the connection string at the app.config file.
You can create instance at the above user code and check relevant things (I do it a lot in my tests).
good luck
- Mon Nov 02, 2015 8:38 am
- Forum: General Questions
- Topic: rename test suit
- Replies: 3
- Views: 1579
Re: rename test suit
Thanks a lot Pavel, it worked .
I think they should have here a "Thanks" bottun
I think they should have here a "Thanks" bottun
- Thu Oct 29, 2015 11:12 am
- Forum: General Questions
- Topic: rename test suit
- Replies: 3
- Views: 1579
rename test suit
Hi All,
I create a test suite with test cases.
I gave it (Test Suite) wrong name, is it possible to rename it?
Note:
I change the project name and all name spaces, still can't find the test suite .
I create a test suite with test cases.
I gave it (Test Suite) wrong name, is it possible to rename it?
Note:
I change the project name and all name spaces, still can't find the test suite .
- Sun Sep 20, 2015 2:32 pm
- Forum: How To …
- Topic: Update XML for CI testing
- Replies: 7
- Views: 2475
Re: Update XML for CI testing
Hi Swmatisa, Sorry for late response (summer time :D ). I got your idea and love it (genius 8) ). I didn't succeed to implement it since I got an error while try to inherit classes in Ranorex (ProgressLogger : IReportLogger). I Even try to add Interface (the error wrote to add it), and it didn't hel...
- Thu Sep 03, 2015 11:16 am
- Forum: General Questions
- Topic: Wait for image comparison and remove from report
- Replies: 2
- Views: 1632
Re: Wait for image comparison and remove from report
Sorry, found the answer (switch it to debug).
now. should I delete the post?
Thanks a lot
Tzahi
Code: Select all
Validate.Options MyValidOption = new Validate.Options(false,ReportLevel.Debug);
Thanks a lot
Tzahi
- Thu Sep 03, 2015 10:43 am
- Forum: General Questions
- Topic: Wait for image comparison and remove from report
- Replies: 2
- Views: 1632
Wait for image comparison and remove from report
Hi All, I create test for flash games, I have a problem after clicking on an object (container), I need to wait until image color will be the same again (it switch to grey for 4 to 20 secs. more then 20 another problem happened :D ). so I wrote this: Imaging.FindOptions MyFindOptions = new Imaging.F...
- Sun Aug 09, 2015 3:01 pm
- Forum: How To …
- Topic: Update XML for CI testing
- Replies: 7
- Views: 2475
Re: Update XML for CI testing
Hi Swmatisa, Thanks a lot, but I stayed with XML solution (it works perfectly, I can elaborate if someone wants). I didn't understand your solution, it looks great but I am not sure I can implement it. It looks like a state machine (remind me Verilog :D ), that sampling the T.S. Is it running as a d...
- Thu Aug 06, 2015 7:58 am
- Forum: How To …
- Topic: Update XML for CI testing
- Replies: 7
- Views: 2475
Re: Update XML for CI testing
Hi Markus, Thanks for the link, my homework regarding CI came from Ranorex forums, and I think it's the correct way. We actually use Nolio (no example for it but I got the idea). Krstcs - I am sure that the correct why is to read 0 or 1 from each T.C. but the first team that start to work on it dict...
- Mon Aug 03, 2015 8:09 am
- Forum: How To …
- Topic: Update XML for CI testing
- Replies: 7
- Views: 2475
Update XML for CI testing
Hi guys, We want to enter my tests to our CI flow, but the person who responsible for it doesn't want to wait for .exe feedback (0 - success, 1 - fail), and prefer I will update the flow xml e.g for XML: <TestResult> <IsPass>false</IsPass> </TestResult> The only way I found to implement it was by "C...
- Tue Jul 21, 2015 8:22 am
- Forum: Object Identification and Technologies
- Topic: check if object exist with loop
- Replies: 2
- Views: 5679
Re: check if object exist with loop
Thanks Odklizec,
You just cut me waiting of 5 to 7 min.
The code i post was just for logic, it's not the real one .
Also your link is great.
Lucky I didn't take the test yet
Have a great week.
You just cut me waiting of 5 to 7 min.
The code i post was just for logic, it's not the real one .
Also your link is great.
Lucky I didn't take the test yet
Have a great week.
- Tue Jul 21, 2015 7:20 am
- Forum: Object Identification and Technologies
- Topic: check if object exist with loop
- Replies: 2
- Views: 5679
check if object exist with loop
Hi, I try to locate object in a page, and it can be randomly in 1 of 10 pages. I find a solution but it take a long time (1 min to each page): int i=0; bool isObVisable= false; while (i<10) { i++; if (i==10) { Report.Log(ReportLevel.Info, "Obj Not founded", "Obj is not exist at this location. test w...