Micro Focus QTP (UFT) Forums
Type Mismatch:Check point while using DP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Type Mismatch:Check point while using DP (/Thread-Type-Mismatch-Check-point-while-using-DP)



Type Mismatch:Check point while using DP - Uma - 09-07-2011

Hi,
My Resut page is not shown in Active screen,
so I manually using this IF..Exist (got all the String arg values by Object spy)and I am giving Check point,
But it is Giving Type Mismatch Error.
This is my code.
Code:
If Browser("title:=ht.*","application version:=internet explorer 7","creationtime:=0").Page("url:=ht.*","index:=0").Exist Then
    Print "First result page is available"
wait(20)
Browser("title:=ht.*","application version:=internet explorer 7","creationtime:=0").Page("url:=ht.*","index:=0").WebElement("html tag:=B","innerhtml:=Operation Successful").Check CheckPoint("Operation Successful")



1.Even though I rerecord,I am not able to see the result page in Active Screen-Why?
2.If I use this manually Why it is giving Type mismatch error?

Any Help?
Thanks
Uma
'