Search found 9 matches

by mohan
Thu Sep 08, 2011 11:09 am
Forum: General Questions
Topic: AUT Crashes when Grid.FindDecendent<RawText> called
Replies: 5
Views: 1865

Re: AUT Crashes when Grid.FindDecendent<RawText> called

appriciate for the reply. 1. "Do you have tested if the RxPath to the specific Grid is still the same after a restart of your application?" Ans: Yes, the RxPath remains same eventhough after restart of application 2. Even though I use "formName.FindSingle(".//rawtext[@caption='"+value+"']"); " rater...
by mohan
Thu Sep 08, 2011 10:54 am
Forum: Automation Tools
Topic: Unable to Read comlete comment of plugin tab
Replies: 2
Views: 1947

Re: Unable to Read comlete comment of plugin tab

Eventhoug with tooltip, it is inconvinent to read rather the comment should be shown in multiline in plugin window itself. BTW thanks for the reply.

Regards,
Mohan
by mohan
Tue Sep 06, 2011 8:10 am
Forum: Automation Tools
Topic: Unable to Read comlete comment of plugin tab
Replies: 2
Views: 1947

Unable to Read comlete comment of plugin tab

Hi,

Open ranorex studio-Click on global settings-go to plug-in tab-click on "Evaluate computationally expensive attribute"/or some other property under MSAA-try to read the comment in bottom. The comments are turncated to ...


Regards,
Mohan
by mohan
Fri Sep 02, 2011 2:39 pm
Forum: General Questions
Topic: AUT Crashes when Grid.FindDecendent<RawText> called
Replies: 5
Views: 1865

Re: AUT Crashes when Grid.FindDecendent<RawText> called

When I call the method SelectCellValue() for first time, it works. But when I call it second time, the application under Test crashes. public static void SelectCellValue(Ranorex.Unknown gridName, string value) { RawText itemToClick = gridName.FindDescendant<RawText>(value); itemToClick.Click(); } Th...
by mohan
Fri Sep 02, 2011 12:51 pm
Forum: General Questions
Topic: AUT Crashes when Grid.FindDecendent<RawText> called
Replies: 5
Views: 1865

AUT Crashes when Grid.FindDecendent<RawText> called

I’ve a gird in AUT which is recognized as 'VSFlexGrid8L' whose RXPath is (“element[@instance='0']/element[@instance='0']/element[@instance='1']/element[@instance='0' and @class='VSFlexGrid8L']”). So in order to click on a particular Item cell, I’m using the following code RawText itemToClick = objAc...
by mohan
Thu Aug 18, 2011 2:07 pm
Forum: General Questions
Topic: why I can’t set selectedITemIndex of combo box ?
Replies: 1
Views: 1769

why I can’t set selectedITemIndex of combo box ?

Hi there, I’m getting an exception whenever trying to set some of the property of combo Box like DropDownVisible, SelectedItemIndex etc. let say I'm trying to execute the below line of code objShipment.FormShipment.cmbFrom.SelectedItemIndex = 3; Thrown exception “Setting attribute 'selecteditemindex...
by mohan
Thu Aug 18, 2011 1:54 pm
Forum: General Questions
Topic: ComboBox Items Collection count is 0 for VB6 combo box.
Replies: 4
Views: 5649

Re: ComboBox Items Collection count is 0 for VB6 combo box.

I got the solution but I did not try "instant tracking". The combo Box Item collection is populated with Items only when it is Visible in UI. If I click on the combo and then checks the Count then I’m getting the collection. The code is something like below: objShipment.FormShipment.cmbFrom.Click();...
by mohan
Fri Aug 12, 2011 2:45 pm
Forum: General Questions
Topic: ComboBox Items Collection count is 0 for VB6 combo box.
Replies: 4
Views: 5649

Re: ComboBox Items Collection count is 0 for VB6 combo box.

Hi Markus, Appreciate your answer. I changed the code as per your suggestion to select an item and it works. But my original question was : Why am I not getting the "Items" Property collection of comboBox adapter? For your information I am attaching a document which is having screen shots that shows...
by mohan
Thu Aug 11, 2011 11:26 am
Forum: General Questions
Topic: ComboBox Items Collection count is 0 for VB6 combo box.
Replies: 4
Views: 5649

ComboBox Items Collection count is 0 for VB6 combo box.

Hello, I'm facing problem in Combobox Item selection. The application under test is developed using VB6.0. I can able to spy combo boxes without any issues or conflicts. But the problem is it always gives the item collection count as 0. For selecting an item I’ve to do like below: //Code Snippet Ran...