QTP¶ÔJAVA¿Ø¼þµÄʶ±ðÎÊÌâ
¸÷룬ÎÊÌâÈçÏ£¨Á½¸ö£©:ÎÊÌâÒ»£º
¼Öƽű¾ÈçÏ£º
Browser("Browser").Page("iSM_BSI20090113").JavaApplet("ISMmnApplet").JavaDialog("iSM").JavaButton("¤Ï¤¤(Y)").Click
ÐÞ¸ÄΪ£º
Browser("title:=Browser").Page("title:=iSM\_BSI20090113").JavaApplet("tagname:=ISMmnApplet").JavaDialog("title:=iSM").JavaButton("tagname:=¤Ï¤¤\(Y\)").Click
½á¹û¾ÍÕÒ²»µ½£¬´íÎóÈçÏ£º
Cannot identify the object "[ JavaButton ]" (of class JavaButton). Verify that this object's properties match an object currently displayed in your application
Õâ¸öÎÊÌâÔÚ±ðµÄjava¿Ø¼þÖÐÒ²¾³£³öÏÖ£¬Ôõô½â¾ö£¿£¿£¿
ÎÊÌâ¶þ£º
javatree¿Ø¼þÈçºÎͨ¹ýÊ÷½ÚµãµÄÃû×Öȥʶ±ð½Úµã£¿²éÁË°ïÖú£¬ºÃÏñjavatreeûÓÐÈ¡µÃ½ÚµãÃû×ֵķ½·¨¡£ tagname:=¤Ï¤¤\(Y\)").
JavaButton("¤Ï¤¤(Y)") ºÃÏñ²»Ì«Ò»Ñù¶î ÔÌûÓÉ david208 ÓÚ 2009-4-3 15:22 ·¢±í http://bbs.51testing.com/images/common/back.gif
tagname:=¤Ï¤¤\(Y\)").
JavaButton("¤Ï¤¤(Y)") ºÃÏñ²»Ì«Ò»Ñù¶î
ʲôÒâ˼£¿
JavaButton("¤Ï¤¤(Y)") µÄtagnameÊôÐÔÖµÊǤϤ¤(Y)£¬ÒòΪÀ¨ºÅÊÇÌØÊâ×Ö·û£¬ËùÒÔתÒåÁËÏ£¬²»×ªÒÆд³Étagname:=¤Ï¤¤(Y)¸ü²»ÐÐµÄ ¶Ô±ÈÒ»ÏÂÔËÐÐʱ°´Å¥µÄÊôÐԺ;²Ì¬ÊôÐÔ£¬¿´¿´ËûÃÇÒ»Ñù²»£¿
Ò³:
[1]