Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Doesn't store value into database using Innertext
#1
Solved: 10 Years, 9 Months ago Question 
Hi,

I got problem i can't not save value to database after i set value to grid.
The value is set to grid, after click save button on page, it doesn't store the value. Would you please help?

Code:
Set desc = Browser("").Page("").WebElement("WebResource_2")
desc.object.innertext = "01"
Msgbox desc.GetRoProperty("innertext")

Browser("").Page("").WebButton("Save").Click

1) After cliking save , the value is not stored
2) I tried to put msgbox it retireved the value "01"
3) I tried not run at the line Browser("").Page("").WebButton("Save").Click
and I manually click Save button- the value is not stored.

Would you please help?


Thanks,
Reply
#2
Solved: 10 Years, 9 Months ago
Quote:I manually click Save button- the value is not stored.
If it doesn't work manually itself, you can't expect your script to make it work.
It seems to be a bug in the application .
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  File Chooser on Chrome doesn't work - UFT 15.0.1 Nenna Rosa 1 3,307 10-31-2020, 01:16 PM
Last Post: Ankur
  VB Script to separate upper & small Letters from a string and store in excel pradeep537 1 2,074 08-05-2016, 12:26 AM
Last Post: Ankur
  Object doesn't support this property or method: 'webedit' Divya Roopa 3 9,687 03-11-2014, 07:26 AM
Last Post: basanth27
  QTP 11.0 Doesn't allow to save excel extracted from BO report. Hema Ganesh.M 1 3,065 12-09-2013, 07:32 AM
Last Post: basanth27
  Webelement innertext is not case sensitive san4hex 7 5,907 05-13-2013, 02:59 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)