Search found 10 matches

by nhassan
Thu Mar 07, 2013 5:53 pm
Forum: General Questions
Topic: Excel into 2D array
Replies: 5
Views: 3142

Re: Excel into 2D array

Hi Ciege, Thanks for sharing the ExcelFramework. When I use the ConvertToStringArray(myvalues), it complains that "The name 'ConvertToStringArray' does not exist in the current context (CS0103)". I have the following references in my usercode: using System; using System.Collections.Generic; using Sy...
by nhassan
Thu Mar 07, 2013 2:52 pm
Forum: General Questions
Topic: Excel into 2D array
Replies: 5
Views: 3142

Re: Excel into 2D array

Hi,
I need to read from Excel into a 2D array. All the posts are to write to Excel.

Thanks,
by nhassan
Wed Mar 06, 2013 11:14 pm
Forum: General Questions
Topic: Excel into 2D array
Replies: 5
Views: 3142

Excel into 2D array

Hi,
I was wondering if anybody can share a code snippet to read an excel file into a 2D array. I don't want to use the data connector since I have to do some manipulation of the data in the array.

Or is it doable using the data connector as well?


Thanks,
by nhassan
Fri Mar 01, 2013 3:17 pm
Forum: Automation API
Topic: Excel error
Replies: 6
Views: 5355

Re: Excel error

Hi, I have the following References added to the list: [img] 3-1-2013 9-11-18 AM.png [/img] I have added the following two lines in the user code: using Excel = Microsoft.Office.Interop.Excel; However, on running Ranorex, I get the following build error: Namespace '<global namespace>' contains a def...
by nhassan
Thu Feb 28, 2013 2:27 am
Forum: Automation API
Topic: Excel error
Replies: 6
Views: 5355

Re: Excel error

Hi Ciege,
Yes I did. It is the first line on the code.

Thanks,
nhassan
by nhassan
Wed Feb 27, 2013 11:16 pm
Forum: Automation API
Topic: Excel error
Replies: 6
Views: 5355

Excel error

Hi Experts, I get the following error when running the following code snippet in Ranorex 4.0.2: "The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) (CS0234)" The code snippet is: --------- using Excel = Microsoft.Office.Interop.Ex...
by nhassan
Thu Feb 21, 2013 7:04 pm
Forum: Automation Tools
Topic: Image and Text based validation Fails
Replies: 6
Views: 3019

Re: Image and Text based validation Fails

Hi,
Would you have an example code snippet for the UserCode action where you can validate if whether the first or the second text is displayed?
by nhassan
Fri Feb 15, 2013 4:26 pm
Forum: Automation Tools
Topic: Image and Text based validation Fails
Replies: 6
Views: 3019

Re: Image and Text based validation Fails

Hi, My problem is that the same repository item has two different texts stored: 1) When the user doesn't enter anything, 5.png is shown in the UI and validated passes 2) When the user enters the firstname, 6.png is shown in the UI and the validation fails with the following error: Attribute 'InnerTe...
by nhassan
Thu Feb 14, 2013 9:32 pm
Forum: Automation Tools
Topic: Image and Text based validation Fails
Replies: 6
Views: 3019

Image and Text based validation Fails

I am automating a web login page that has Email, First Name, Last Name and Username as mandatory text fields. When I leave all of them blank and click the login button, it generates the correct error message (screenshot 5.png) and the recording passes. Now, if I enter the First Name and click login ...
by nhassan
Tue Jan 22, 2013 10:09 pm
Forum: General Questions
Topic: Java Spring framework
Replies: 3
Views: 1754

Java Spring framework

I am evaluating Ranorex. I need to know whether Ranorex supports applications developed on Java Spring framework.