Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to insert error msg in a datatable using Dp?
#1
Not Solved
Code:
Dim bro,url

bro = "iexplore"
url = "www.gmail.com"

systemutil.Run bro,url

For i = 1 To datatable.GetRowCount Step 1

Set desc=description.Create
          desc("micclass").value="WebEdit"
          desc("html id").value="Email"
          Browser("title:=.*").Page("title:=.*").WebEdit(desc).Set datatable("user")

Set desc1=description.Create
          desc1("micclass").value="WebEdit"
          desc1("name").value="Passwd"
          Browser("title:=.*").page("title:=.*").webEdit(desc1).Set datatable("pass")

Set desc2=description.Create
desc2("micclass").value="WebButton"
desc2("class").value="g-button g-button-submit"
Browser("title:=.*").page("title:=.*").webbutton(desc2).Click



If browser("title:=.*").page("title:=.*").webbutton(desc2).Exist(2) Then
   Set desc3=description.Create
   desc3("micclass").value="WebElement"
   desc3("class").value="errormsg"
    else

End If

datatable.SetNextRow
next

i am using dp and trying to create output check point using dp.
so that error msg can be record in the datatable?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 947 09-11-2019, 02:52 PM
Last Post: siddharth1609
  Datatable.importsheet error niks19 2 3,396 08-21-2015, 12:00 AM
Last Post: ADITI1992
  Datatable import error Prashanth 7 16,350 11-19-2014, 06:53 PM
Last Post: praveen.g3
  Datatable header inserting error Prashanth 0 2,735 05-21-2013, 03:39 PM
Last Post: Prashanth
  Unable to insert data into datatable Prashanth 1 3,610 05-10-2013, 03:07 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)