Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why Run time erro is displaying while i am usning copy of action Option?
#6
Solved: 11 Years, 4 Months ago
Blistering Barnacles...Okay...Here you go,

@Saket - please dont mind, i am going to merge your answers with mine because they seem very much basic verification which definitely needs to be done before we begin.

Check the below before you begin the execution,

1. Have you opened the application ??
2. Was the application opened before QTP or after QTP ? If you are confused and not sure then, Close QTP and the application, Open QTP first and then the Application.
3. Where have you added the objects to the repository ? Is it local or Shared ? If local dont bother at all. if shared, Right click on the action, navigate to Action->Action Properties and then Associate repositories. Verify if the Shared Repository is associated to the action your code is in.

Execution :

1. Start the execution.
2. If you get the same error, Stop the execution. Go to the Object Repository Manager, open your repository, Select the Object and then click on the option Highlight in the application. Does it highlight ?
If yes, Then come back to your script place a breakpoint before the line it errors out.

Start the execution again, and at the breakpoint begin debugging.Check how the application behaviour is at the moment of error.

Let us know if this helped you.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: Why Run time erro is displaying while i am usning copy of action Option? - by basanth27 - 08-12-2009, 02:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recogonising object during run time Lavanya N 2 3,727 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 12,171 08-27-2015, 10:18 AM
Last Post: supputuri
  How to select the drop down option by searching for partial text Neetha 4 8,783 08-04-2015, 08:55 PM
Last Post: Neetha
  Click on drop down and select second option using HP UFT Tusharguru99 2 6,679 07-30-2015, 06:06 PM
Last Post: Neetha
  QTP Takes Long time to Run prasaad44 4 4,881 04-10-2014, 01:53 AM
Last Post: prasaad44

Forum Jump:


Users browsing this thread: 2 Guest(s)