Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem while using an object description from an excel
#1
Not Solved
Hi Ankur,

I am trying to use object description available in an excel instead of directly writing in the code.
Its working fine for a single property(like name:=Login).
Here in the code below, I used two properties for the browser description(like "name:=Login","title:=Login") and its not working.
Its working fine when written directly in the code.
I am little bit confused, Is there solution for this...

Please find the code below:

Code:
'                        set BrowserName=description.create
'                        BrowserName("name").value=DataTable("BrowserName","TestCases")
'                        BrowserName("title").value=DataTable("BrowserName","TestCases")
                        BrowserName=DataTable("BrowserDescription","OR")
                        msgbox BrowserName
                        'set PageName=description.create
                        PageName=DataTable("PageDescription","OR")
                        'set ObjectName=description.create
                        ObjectName=DataTable("ObjectDescription","OR")
                        Browser(BrowserName).Page(PageName).WebEdit(ObjectName).Set DataTable("Value","TestCases")

A fast response is appreciated so that I can work furhter.

Thanks & Regards,
SatyaKiran Watts
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find out the object property in the Description language . njnirmal 9 6,733 05-19-2015, 12:30 AM
Last Post: qtptester66523
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,453 04-04-2014, 05:29 PM
Last Post: mayankchauhan
  Runtime Object Identification Problem qapandit 9 6,389 07-02-2013, 04:14 AM
Last Post: qapandit
  Problem in identifying the object Paras Singh 3 3,330 04-22-2013, 07:43 AM
Last Post: ravi.gajul
  need help with excel object kundan2612@gmail.com 1 1,961 03-08-2013, 12:12 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)