Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue in database testing
#1
Not Solved
I tried to get string from a database but it does not work please help

Code:
test_id=Browser("text:=.*").Page("text:=.*").Webtable("html id:=tablepaging").GetCellData(3,2)
test_id = cint(test_id)
connection = "Driver={MySQL ODBC 3.51 Driver}; Server=192.168.0.26; Database = master;user=root; password="
Set conn = createobject("adodb.connection")
Conn.open connection
Set ors = conn.execute("select * from test where id = 'test_id'")
If ors.EOF <>True Then
    print (ors.GetString)
End If
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Testing access database shipu 3 4,156 01-30-2014, 08:05 PM
Last Post: shipu

Forum Jump:


Users browsing this thread: 1 Guest(s)