Search found 26 matches

by mghali
Wed Aug 19, 2015 4:14 pm
Forum: How To …
Topic: HOW TO only get the integer value from a string?
Replies: 3
Views: 4225

Re: HOW TO only get the integer value from a string?

I am sorry I do not understand what that means. I am really bad at code
by mghali
Wed Aug 19, 2015 3:43 pm
Forum: How To …
Topic: HOW TO only get the integer value from a string?
Replies: 3
Views: 4225

HOW TO only get the integer value from a string?

Hello,

I have this scenario where the controltext contains the count of the elements in the groupbox. How can I get the value? I will then need this value to put in a condition loop. I have attached the snapshot for the same

The version I am using is 5.4.0.


Thank you in advance
by mghali
Tue Jul 21, 2015 4:21 pm
Forum: Object Identification and Technologies
Topic: Draw selection box.
Replies: 4
Views: 1882

Re: Draw selection box.

Thank you!
Enabling the hotkey worked better than adding the actions.
by mghali
Mon Jul 20, 2015 10:18 pm
Forum: Object Identification and Technologies
Topic: Draw selection box.
Replies: 4
Views: 1882

Re: Draw selection box.

I use the 5.4 verison of Ranorex I am sorry. I don't know how to explain it. I will try explain the function. On the desktop of windows, when you click and drag, you create a selection box, selecting the elements that fall within the boundaries of the box of broken lines that appears momentarily. I ...
by mghali
Mon Jul 20, 2015 8:55 pm
Forum: Object Identification and Technologies
Topic: Draw selection box.
Replies: 4
Views: 1882

Draw selection box.

Hello Every one,

How can you draw a selection box using automation, using code or recorder. Because when I record, it records like I did, but does not play back the same way.

Can anyone help?

Thank you!
by mghali
Thu Jun 25, 2015 10:58 pm
Forum: Automation API
Topic: User code created Repository item
Replies: 5
Views: 2422

Re: User code created Repository item

Thank you so much!!
That helped.
by mghali
Thu Jun 25, 2015 3:44 pm
Forum: Automation API
Topic: User code created Repository item
Replies: 5
Views: 2422

Re: User code created Repository item

Thank you for the reply. The xpath that I use is: /form[@controltypename='ShellForm']//tabpage[@title='Reporting Configuration' and @controltypename='TabPage']/?/?/container[@controltypename='SplitContainer']/container[2]/element/container[1]/tabpagelist/tabpage[1]/?/?/table[@controltypename='ReadOn...
by mghali
Thu Jun 25, 2015 2:40 pm
Forum: Automation API
Topic: User code created Repository item
Replies: 5
Views: 2422

User code created Repository item

Hello Everyone, I have a repository that has a dynamic value. I need to take the output from one of the steps that has the following code : repo.ShellForm.Shell4.Code.PressKeys("Code"+System.DateTime.Now.ToString("MMddyyyy")); O/P = CodeMMddyyyy, This would create a new item in the list. The next st...
by mghali
Thu Apr 16, 2015 9:46 pm
Forum: General Questions
Topic: How to Insert a date in a DateTimePicker Repository Item
Replies: 9
Views: 4108

Re: How to Insert a date in a DateTimePicker Repository Item

Yes I did. It does not return a fail but it niether changes the date. public void Set_Value_startDate() { Report.Log(ReportLevel.Info, "Set Value", "Set the procedure 'Start Date' to the previous date.", repo.MedicompBeacon.startDateInfo); repo.MedicompBeacon.startDate.Element.SetAttributeValue("Acc...
by mghali
Thu Apr 16, 2015 8:22 pm
Forum: General Questions
Topic: How to Insert a date in a DateTimePicker Repository Item
Replies: 9
Views: 4108

Re: How to Insert a date in a DateTimePicker Repository Item

Yes, I eliminated the List Values. But expanding list did not work. I am not able to make sure that the system picks up a date one previous to existing time. If you can think of anything else let me know.

The repository I am using is "repo.MedicompBeacon.startDate.Element."

Thank you for the help!
by mghali
Thu Apr 16, 2015 3:29 pm
Forum: General Questions
Topic: How to Insert a date in a DateTimePicker Repository Item
Replies: 9
Views: 4108

Re: How to Insert a date in a DateTimePicker Repository Item

I am sorry I don't Understand when u say "expand the list". Can you please explain Also: The dynamic value here is the Start date, it reflects the "current date" of when the file is opened. So it is not 4/15/2015 always. So, I edit the path to find the element irrespective of what date it is and wha...
by mghali
Thu Apr 16, 2015 2:43 pm
Forum: General Questions
Topic: How to Insert a date in a DateTimePicker Repository Item
Replies: 9
Views: 4108

Re: How to Insert a date in a DateTimePicker Repository Item

Here is the snapshot. And I am using 5.1.4.
StartDate.rxsnp

I am still working on getting a quote for the new build.

Thank you
by mghali
Wed Apr 15, 2015 9:33 pm
Forum: General Questions
Topic: How to Insert a date in a DateTimePicker Repository Item
Replies: 9
Views: 4108

How to Insert a date in a DateTimePicker Repository Item

I have been trying this for two days now. So any help is a great relief. There is a similar post I put up before. I have automated tests using a combination of recording and usercodes. For a field that accepts "Set Value- Text" can populate a repository item with the following usercode change. publi...
by mghali
Fri Apr 10, 2015 7:48 pm
Forum: General Questions
Topic: Setting the date to one day previous
Replies: 6
Views: 2126

Re: Setting the date to one day previous

I update my post please review it and let me know if you need anymore information.
by mghali
Fri Apr 10, 2015 7:32 pm
Forum: General Questions
Topic: Setting the date to one day previous
Replies: 6
Views: 2126

Re: Setting the date to one day previous

How to display as a set value for a repository item called startDate?

Where should i direct the WriteLine to ?