Adding numbers in tbamount box issue
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2010
11:26 PM
02-07-2010
11:26 PM
Adding numbers in tbamount box issue
Hi.
when i try to record a box where i type som numbers in, then when im done with it and stops the recorder. then i play it to watch it, and it ain't putting the numbers in my box, what is wrong?
Best Regards.
Nicklas Sørensen
when i try to record a box where i type som numbers in, then when im done with it and stops the recorder. then i play it to watch it, and it ain't putting the numbers in my box, what is wrong?
Best Regards.
Nicklas Sørensen
6 REPLIES 6
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010
04:21 AM
02-08-2010
04:21 AM
Hi Nicklas,
Can you describe the problem in detail? What control are you working with, what actions do you perform, what script is recorded, what do you get on playback?
Can you describe the problem in detail? What control are you working with, what actions do you perform, what script is recorded, what do you get on playback?
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010
06:53 PM
02-08-2010
06:53 PM
Hi Jared.
The problem is when i try to add numbers in my box it don't type it in my record. i can see in my script that it has registeret my numbers, but it aint typing it.
First picture i press the button to get into my second pictures windows
Second picture is the box ( Amount ) where i type the numbers
On my record box im told the object box is WinFormsObject("tbAmount")
Regards.
Nicklas Sørensen
The problem is when i try to add numbers in my box it don't type it in my record. i can see in my script that it has registeret my numbers, but it aint typing it.
First picture i press the button to get into my second pictures windows
Second picture is the box ( Amount ) where i type the numbers
On my record box im told the object box is WinFormsObject("tbAmount")
Regards.
Nicklas Sørensen
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010
07:42 PM
02-08-2010
07:42 PM
Hi Nicklas,
Do you get any errors in the log? What code was recorded in your script (post here the corresponding line) - does it use the Keys method? Can you assign a value to the target text box if you use some of its properties - for example, wText, or Value, or Text?
Do you get any errors in the log? What code was recorded in your script (post here the corresponding line) - does it use the Keys method? Can you assign a value to the target text box if you use some of its properties - for example, wText, or Value, or Text?
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010
08:32 PM
02-08-2010
08:32 PM
Hi.
The code it write is:
Sub Add_Financials
Dim gotrex
Dim frmNewReserve
Dim C1NumericEdit
Set gotrex = Aliases.Gotrex
gotrex.FrmMDIMain.MdiClient.frmGoTrexOverview.SplitContainer1.SplitterPanel.panelClaimStudio.ucClaimStudio.panelTop.UcEconomy1.GroupBox1.btnNewReservation.ClickButton
Set frmNewReserve = gotrex.frmNewReserve
Set C1NumericEdit = frmNewReserve.GroupBox1.tbAmount
Call C1NumericEdit.Click(57, 12)
C1NumericEdit.wText = "770,00"
frmNewReserve.BtnOk.ClickButton
End Sub
The code it write is:
Sub Add_Financials
Dim gotrex
Dim frmNewReserve
Dim C1NumericEdit
Set gotrex = Aliases.Gotrex
gotrex.FrmMDIMain.MdiClient.frmGoTrexOverview.SplitContainer1.SplitterPanel.panelClaimStudio.ucClaimStudio.panelTop.UcEconomy1.GroupBox1.btnNewReservation.ClickButton
Set frmNewReserve = gotrex.frmNewReserve
Set C1NumericEdit = frmNewReserve.GroupBox1.tbAmount
Call C1NumericEdit.Click(57, 12)
C1NumericEdit.wText = "770,00"
frmNewReserve.BtnOk.ClickButton
End Sub
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010
11:49 PM
02-08-2010
11:49 PM
Hi Nicklas,
Try using the Keys method in the following line:
C1NumericEdit.wText = "770,00"
It should look like this:
Call C1NumericEdit.Keys("770,00")
Does this help?
Try using the Keys method in the following line:
C1NumericEdit.wText = "770,00"
It should look like this:
Call C1NumericEdit.Keys("770,00")
Does this help?
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2010
12:08 AM
02-09-2010
12:08 AM
Thanks a million, it works
