Search found 7 matches

by Shahnaz
Thu Jan 21, 2016 11:40 am
Forum: General Questions
Topic: how to pass commas in test dat
Replies: 1
Views: 1469

how to pass commas in test dat

hi I am using CSV connector for getting test data from my csv sheet. I want to pass commas in my test data. For eg: "Select firstname,Lastname,userid from Table" in csv file It is looking fine in csv file, but in ranorex data sources it is splitting the string as Select firstname Lastname Userid fro...
by Shahnaz
Thu Jan 14, 2016 9:08 am
Forum: General Questions
Topic: Using Variables as Arguments
Replies: 3
Views: 2039

Re: Using Variables as Arguments

Hi.. I am scripting in Vb and i tried using your code Testsuite.Current.Parameters["varGlobal"] . But i m getting sysntax error. Instead i tried by using Testsuite.Current.Parameters("varGlobal"), i did not get any syntax error but during run time i m getting error "Object reference not set to an in...
by Shahnaz
Tue Dec 22, 2015 11:49 am
Forum: General Questions
Topic: How to create object for Outlook Application
Replies: 1
Views: 1644

How to create object for Outlook Application

Hi,

In my application after successfully registering in Site we need to validate whether user has received email. Also need to verify content.For this purpose i need to connect to Outlook. Can anyone help me with the code for the same. Thanks in advance.
by Shahnaz
Wed Sep 09, 2015 8:58 am
Forum: General Questions
Topic: Deleting Browser History and Cache
Replies: 1
Views: 3881

Deleting Browser History and Cache

Hi
I need to Delete my browser History(Chrome/IE) after every Test case execution. Can anyone provide any help regarding its script.. I saw code in site for creating Shell object and then clear stack trace but not sure how to declare such objects in Ranorex
by Shahnaz
Mon Aug 31, 2015 11:28 am
Forum: General Questions
Topic: Object reference not set to an instance of an object
Replies: 5
Views: 5113

Re: Object reference not set to an instance of an object

@odklizec.. yes object has attribute "Value".. Solution provided by krstcs is working fine..
Thanks to both of you :) my problem is solved..
by Shahnaz
Fri Aug 28, 2015 10:34 am
Forum: General Questions
Topic: Object reference not set to an instance of an object
Replies: 5
Views: 5113

Re: Object reference not set to an instance of an object

Thanks for your reply.. I tried by adding .ToString() but still getting that error.. :(
I tried in this way Report.Log(ReportLevel.Info,repo.brsMediaView.objLabel.Element.GetAttributeValue("Value").ToString())
by Shahnaz
Thu Aug 27, 2015 2:46 pm
Forum: General Questions
Topic: Object reference not set to an instance of an object
Replies: 5
Views: 5113

Object reference not set to an instance of an object

Hi.. I am using following code get value from UI " objName.Element.GetAttributeValue("Value").ToString=strTextValue " but it is giving run time error "Object reference not set to an instance of an object" when the object value is blank in UI. But my requirement is to fetch even blank values.. Instea...