Search found 24 matches

by devenb
Thu Mar 25, 2010 12:46 pm
Forum: Automation Tools
Topic: Need help with a function
Replies: 7
Views: 2554

Re: Need help with a function

Hi Alex, Thanks for the information. Yes passing an element to the wait_For_Application_ToLoad method, which is not yet visible throws an exception :(. Is there a way where I can pass any control of an invisible element without an exception been thrown by Ranorex? Like passing a Rxpath as string etc...
by devenb
Mon Mar 22, 2010 5:11 pm
Forum: Automation Tools
Topic: Need help with a function
Replies: 7
Views: 2554

Re: Need help with a function

Hi, the problem is that Outlook generates a Splash Screen and IMHO it is more wise to use a menubar of outlook to validate if the programm is started, because there is more guarantee that the programm is finished with loading. Regards, Peter Ranorex Support Team Hi Peter, Outlook is just an example...
by devenb
Mon Mar 22, 2010 3:55 pm
Forum: Automation Tools
Topic: Need help with a function
Replies: 7
Views: 2554

Re: Need help with a function

Hi, the problem with your function seems that the window handle on start is not the same when you call the function. This means when your are coding a validation like while(repo.FormInbox.OutlookForm.Visible == false) Delay.Milliseconds(20); , on every while-cycle Ranorex is searching for the eleme...
by devenb
Mon Mar 22, 2010 1:07 pm
Forum: Automation Tools
Topic: Need help with a function
Replies: 7
Views: 2554

Need help with a function

Hi, I was trying to write a function which would replace the need of adding delay to the code when waiting for applications to load. Whenever any application is initialised this function would be called till the application form is visible. Here is the sample code: public static void Start() { repo....
by devenb
Tue Jan 26, 2010 1:39 pm
Forum: General Questions
Topic: Any code snippet using method ImageFormatConverter?
Replies: 1
Views: 2561

Any code snippet using method ImageFormatConverter?

Hi,

I tried to search for this in the forum as well as googled it, but could not get much info on it.
Can anyone help me with converting an image to bitmap using ImageFormatConverter method?

Thanks & Regards,
Deven B.
by devenb
Tue Oct 13, 2009 1:40 pm
Forum: Automation Tools
Topic: Not able to identify TabPage using regular expression
Replies: 3
Views: 2604

Re: Not able to identify TabPage using regular expression

I have a tab page something like Ranorex.TabPage TB_Edit_Customer = "/form[@controlname='MainForm']/container[@controlname='panelTabControlHolder']/*/*/tabpage[@accessiblename='Edit Customer [10378456]']";. The value in the brackets keep changing.Next time it might be something like - Ranorex.TabPa...
by devenb
Thu Oct 08, 2009 8:52 am
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Hi Christian, Yes the dll is getting locked, but I have moved the delegate methods in to separate project, build a dll for it and then added the reference of that dll in the main Ranorex project. What different thing can I do here? I searched the web for the error message but didnt found a solution....
by devenb
Wed Oct 07, 2009 5:18 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Hi Alex, I am getting this new error now after compiling my Ranorex project. Unable to delete file "C:\LicensedRanorex\XYZ\XYZ\bin\Debug\MyFirstDLL.dll". Access to the path 'C:\LicensedRanorex\XYZ\XYZ\bin\Debug\MyFirstDLL.dll' is denied. (MSB3061) The only thing I have done is that I have added some...
by devenb
Tue Oct 06, 2009 4:41 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Thanks Alex,

Yes I was not passing the correct namespace/class details.
Error rectified and it works properly now.
Thanks for all the support.

Regards,
Deven B.
by devenb
Tue Oct 06, 2009 1:03 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Hi Alex,

I built a DLL for the delegate method and added a reference for the DLL to the project.
But when I compile the code it does not compiles and gives error messages as "The name 'GetBackgroundColor' does not exist in the current context(CS0103)."

What wrong I am doing here?

Regards,
Deven B.
by devenb
Mon Oct 05, 2009 5:08 pm
Forum: Automation Discussions
Topic: Roll Call Time...
Replies: 8
Views: 3728

Re: Roll Call Time...

Here are my answers: 1) I am in Bracknell, Berkshire, UK. 2) Using Ranorex for testing a Client/Server .NET app and Ajax web based application. 3) Ranorex IDE. 4) C#. 5) Other automation solutions worked upon consisting of Selenium, SOAPUI. Even I use AutoIt for executing small windows based tasks. ...
by devenb
Mon Oct 05, 2009 4:44 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

The DLL that contains the delegate method called by Control.InvokeRemotely needs to be loaded by the automated application and therefore stays locked until the application is closed. You can, however, move the delegate method to a separate DLL, that way only this DLL will be locked and you can keep...
by devenb
Mon Oct 05, 2009 4:28 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

You can only cast control typed elements to Ranorex.Control . Your RxPath seems to be related to a grid cell. Use Ranorex Spy and try to get the overlying UltraGrid Control element (in the detail tab in spy named as control-type: Infragistics.Win.UltraWinGrid.UltraGrid). Regards, Christian Ranorex ...
by devenb
Mon Oct 05, 2009 1:02 pm
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Typically it`s not necessary to install the infagistics setup. For calling 'Invoke Remotely' you have to add the related assemblies to your testing application. (i.e. Infragistics2.Shared, Infragistics2.WinUltraGrid, Infagistics2.Win). Regards, Christian Ranorex Support Team Hi Christian, Thanks fo...
by devenb
Mon Oct 05, 2009 11:46 am
Forum: General Questions
Topic: Finding the colour of a cell in an Infragistics Grid.
Replies: 15
Views: 12779

Re: Finding the colour of a cell in an Infragistics Grid.

Thanks for the reply.
For getting this done do I need to install Infragistics on my machine and include it in the project workspace?

Regards,
Deven B.