Well, that's alright. There is no need to apologize to anyone.
My only intent was to point this out for mytheryi and other readers who visit this board.
Type: Posts; User: Anshoo_Arora; Keyword(s):
Well, that's alright. There is no need to apologize to anyone.
My only intent was to point this out for mytheryi and other readers who visit this board.
You can count the links using the following code:
Set oLink = Description.Create()
oLink("micclass").value = "Link"
oLink("html tag").value = "A"
Set oLinkCount =...
shv_shanmu24, I would only like to add that your code is not going to convert the date from the format mythreyi has posted in the original post. It is only going to work for System Dates.
Usage:
MsgBox dateManipulate("4-5/2007")
MsgBox dateManipulate("12-12/2007")
MsgBox dateManipulate("12-1/2007")
MsgBox dateManipulate("1-10/2007")
Public Function dateManipulate(sDate)
If Len(sDate) > 10 Then
Reporter.ReportEvent micWarning, "Error! Bad Input", "Bad Input. Actual: " & sDate & ". Expected: m-d/yyyy"
End If
...
To what format do you want your dates converted?
1. When you are running scripts, you should have an idea of what the expected result would be and you check that when you run your automated scripts against the application. If your expected results...
Do you mean an identifier except index and location?
If the checkpoint passes, means the Object exist. What you really want to do is check if the Button object is active or inactive, right?
To remove parameterization, instead of having DataTable("",dtGlobalSheet), replace it with a hard-coded value.
To remove the checkpoint, just delete the statement (in Expert view) or comment that...
Browser("micclass:=Browser").Refresh
I generally keep similar functions in one function library. For example, in my automation framework, I have DP Objects in one library, all Global functions in one and Reusable actions (Login script,...
Are you hard-coding values in the first form?
Also, do you want to get the values that you have set in the first form or values that result from your actions in Form 1 (i.e. output values)?
VbWindow("MDIMain_3").Window("Recon # 7455").ActiveX("InsSettle.ctlInsSettle").VbListView("lsvComm").Select "77405"
There is the problem (the part in red). QTP is not able to recognize the part....
Well, if the application does not show how many files it has uploaded, it is going to be very hard for me to write a script to really find out how many were really uploaded.
What I am trying to...
Try this:
Browser("index:=").Page("micclass:=Page").Sync
or
Browser("micclass:=Browser").Page("micclass:=Page").Sync
James, I am not sure why it fails to work. I copied the code you posted in the original post. It should work. Maybe you can try to check if the VbList properties in the application and in your OR are...
Does it mention somewhere in the received page that "X" number of files have been uploaded successfully? Or, does it list the names of all the files that have been uploaded? You can use GetROProperty...
newhere, type these words in QTP, click on them, and press F1.
You will get a plethora of information on each which won't be possible to enlist over here.
It is possible that the VBList is a dynamic object, that is, its properties can change during runtime. Is it a dynamic object? If it is, then before we get any further, we will have to make sure QTP...
Can you post a screenshot?
If this is a .net application, shouldn't the object be added as Swf objects? Or, are you saying that all objects like SwfWindow, SwfButton are showing simply as SwfObject?
It depends how much VBScript you know. If you are really good, then show it. If you are not, then don't :)
You can use the following method and see if your script works as expected:
1. Use the Object Spy and click on the WebEdit which has its description altered by the Dev team
2. Find the "name"...
It turns your TV off. Really.