Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create an object for all actions
#1
Not Solved
Object test_case is created in action1

Code:
set test_case = fso.CreateTextFile("C:\Created projects\drive indices test cases", True)

some lines are written as following:

Code:
test_case.Write("Create new  -->  location --> ") & vbnewline
test_case.Write("Create new in field ") & vbnewline
test_case.Write("Create ") & vbnewline

In Action2 i want to continue writing next to the previous line but message comes object required.

Please help
Reply
#2
Not Solved
every action has a diff object repository. so what works on action1 will not work in any other action if its depended on object. you can export or from action 1 and associate with action2. or you can use shared or. please go through the basic understanding for QTP
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ActiveX component can't create object: 'JavaWindow' JayeshK 0 1,723 01-07-2021, 01:12 PM
Last Post: JayeshK
  Create Terminal as object dapeamel 0 3,144 02-16-2018, 07:09 PM
Last Post: dapeamel
  How to call Actions from other Actions Naresh 1 7,966 09-25-2014, 10:26 AM
Last Post: vinod123
Exclamation URGENT: ActiveX component can't create object citibank_ani 3 15,543 09-09-2014, 01:02 PM
Last Post: VarunKaushik
  Create Test Object in Object Repository Manager bgold01 3 6,322 10-09-2012, 07:43 PM
Last Post: Brian.Osborne

Forum Jump:


Users browsing this thread: 1 Guest(s)