Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
object required 'A' error
#1
Solved: 10 Years, 9 Months, 1 Week ago
hi all
i m getting this error while running this code


thanks
sia


Code:
A = Browser("Justdial").Page("Justdial").WebElement(DataTable("categories", dtGlobalSheet)).GetROProperty("innertext")
msgbox A
If A.Exist Then
    Reporter.ReportEvent micPass,"pass","category found 1"
    else
    Browser("qpr").Page("qpr").Link("2").Click
        If A.Exist Then
            Reporter.ReportEvent micPass,"pass","category found 2"
            else
            Browser("qpr").Page("qpr").Link("3").Click
                    If A.Exist Then
                        Reporter.ReportEvent micPass,"pass","category found 3"
                        else
                        Browser("qpr").Page("qpr").Link("4").Click
                            If A.Exist Then
                                Reporter.ReportEvent micPass,"pass","category found 4"
                                else
                                Browser("qpr").Page("qpr").Link("5").Click    
                                    If A.Exist Then
                                        Reporter.ReportEvent micPass,"pass","category found 5"
                                        else
                                        Reporter.ReportEvent micFail,"invalid","category not found"
                                    End If                                                        
                            End If
                    End If
            End If
End If
Reply


Messages In This Thread
object required 'A' error - by sia sharma - 08-21-2012, 04:22 PM
RE: object required 'A' error - by Ankesh - 08-21-2012, 04:47 PM
RE: object required 'A' error - by sree.85 - 08-23-2012, 10:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Intermitent "Object not visible" error erodpr 5 3,287 01-14-2016, 10:55 AM
Last Post: vinod123
  Unable to identify "Authentication Required" Dialog shaunysj 2 2,940 08-04-2015, 12:55 PM
Last Post: venkatesh9032
  ERROR : Object reference not set to an instance of an object. Suyashxp 2 6,954 12-30-2014, 11:32 AM
Last Post: ursprasadp
  code required for the following scenarios krithikaachari 0 2,133 09-27-2014, 01:00 AM
Last Post: krithikaachari
  object required shipu 1 3,854 01-16-2014, 08:11 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)