TA的每日心情 | 无聊 2015-7-12 20:40 |
---|
签到天数: 3 天 连续签到: 1 天 [LV.2]测试排长
|
我在上传图片的页面使用:
dr.findElement(By.id("SWFUpload_0")).click();
但是没有弹出选择文件的对话框,请问是什么原因?- <head>
- <body id="question_answer_set">
- <div class="" style="left: 0px; top: 0px; visibility: hidden; position: absolute;">
- <div class="" style="left: 0px; top: 0px; visibility: hidden; position: absolute;">
- <div id="header">
- <div class="w1000 mb mt17 knowMainWrap clearfix f_y">
- <div class="userPersonInfo clearfix">
- <div class="personQuestionWrap mt38">
- <ul class="navSort col_c clearfix">
- <div class="pl20 pr20 ProposeQuestion mt17 clearfix">
- <ul class="editPersonInfo mt17 pl20">
- <li id="answerSet">
- <li>
- <span class="title">个人头像: </span>
- <span class="upLoadImg mr10">
- <img id="imgPath" width="120" height="120" src="http://192.168.0.7:8099/group1/M00/00/60/wKgAB1KEjmqTyVo_AAl5WLU-YRY600.jpg">
- <i style="position: relative;top: -3px;left: 92px;">
- <div id="imgChange" class="uploadify" style="height: 20px; width: 360px;">
- <object id="SWFUpload_0" class="swfupload" width="360" height="20" data="/static/js/jq/uploadify/uploadify.swf?preventswfcaching=1387941546393" type="application/x-shockwave-flash" style="position: absolute; z-index: 1;">
- <div id="imgChange-button" class="uploadify-button " style="height: 20px; line-height: 20px; width: 360px;">
- </div>
- <div id="imgChange-queue" class="uploadify-queue"></div>
- </i>
复制代码 |
|