12.loadrunner回放web services协议脚本错误:loadrunner 8.0版本在拍摄web services协议的脚本时正常,但在回放时会出现错误,提示停止脚本运行今天发现一台ubuntu服务器crontab定时运行scp的转储脚本失败,手动执行脚本没问题selenium3 firefox 50,所以想从crontab的日志里找理由,突然看到我的/var/log下没有cron日志selenium3 firefox 50,这里记录一下如何ubuntu server如何查看crontab日志 2.在左侧双击打开出问题的日志(日志多的话我们按出现闪屏时的时间来找),复制日志内的内容,粘贴到文本文档上,例如: 错误应用程序名称: explorer.exe,版本: 10.0.10586.306,时间戳: 0x571af645 错误模块名称: shell32.dll,版本: 10.0.10586.306,时
脚本如下:
package selenium;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class filefoxdriver {
public static void main(String[] args){
System.setProperty("webdriver.gecko.driver", "D:\\BaiduYunDownload\\selenium\\geckodriver-v0.16.1-win32\\geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.get("http://www.baidu.com/");
}
}
运行日志如下:
1495940810694 geckodriver INFO Listening on 127.0.0.1:32250
firewallrules: [tcp query user{84d0d121-ecbd-42a3-8784-f4585e6b748b}c:\program files\mozilla firefox\firefox.exe] => (allow) c:\program files\mozilla firefox\firefox.exe{"smallurl":"http:\/\/pad1.whstatic.com\/images\/thumb\/5\/57\/set-mozilla-firefox-as-your-default-browser-step-7.jpg\/v4-460px-set-mozilla-firefox-as-your-default-browser-step-7.jpg","bigurl":"http:\/\/pad2.whstatic.com\/images\/thumb\/5\/57\/set-mozilla-firefox-as-your-default-browser-step-7.jpg\/v4-760px-set-mozilla-firefox-as-your-default-browser-step-7.jpg","smallwidth":460,"smallheight":345,"bigwidth":760,"bigheight":570}{"smallurl":"http:\/\/pad2.whstatic.com\/images\/thumb\/1\/12\/set-mozilla-firefox-as-your-default-browser-step-6.jpg\/v4-460px-set-mozilla-firefox-as-your-default-browser-step-6.jpg","bigurl":"http:\/\/pad3.whstatic.com\/images\/thumb\/1\/12\/set-mozilla-firefox-as-your-default-browser-step-6.jpg\/v4-760px-set-mozilla-firefox-as-your-default-browser-step-6.jpg","smallwidth":460,"smallheight":345,"bigwidth":760,"bigheight":570}
1495940811555 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFile.create]"nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: JlavaScript errinoer :7 0"data: no] Stack tracer:e sFoiulrecUet:i/l/sg_rgee/tmDiord(u)l@erse/sAoddonuManagrecre.:j/s/mg,r el/imnoed u1l6e5s7/:F iNlSe_EURtRiOlRs_.NjOsTm_:I7N0I T
c
e://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
1495940814831 Marionette INFO Listening on port 5111
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
五月 28, 2017 11:06:55 上午 org.openqa.selenium.remote.ProtocolHandshake createSession
信息: Detected dialect: W3C
machine type passed to makefiles for 64-bit visual studio builds is now x86 instead of amd64 for wxwidgets 2.9+, and the returned wxwidgets library directory now reflects this change. jutoh adds x64 or amd64 folders to libs and compiler paths if building the application using a makefile in 64-bit mode. rearranged include path order to include the build-specific resource path first and fix a problem with 64-bit binaries running due to wrongly including the x86 manifest. rearranged library order to avoid gcc link errors for an application using xrc. fixed paths for windows 8 sdk. added platformtoolset tag to vs 10 and 11 project files to select the appropriate tools.appjs is an exciting resource that allows us to develop desktop apps using web technologies (html, css and javascript). appjs is an exciting resource that allows us to develop desktop apps using web technologies (html, css and javascript).the major advantages of mvc design are clarity and modularity. since mvc paradigm cleanly separates an application into 3 logical components, it is cleaner and easier to understand the role of each component, and to maintain each module separately by multiple developers. because of its efficient modularity, the components can be interchangeable and scalable. for example, you can customize the look-and-feel of view component without modifying model and controller modules, or can add multiple different views (table and chart) simultaneously.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-133761-1.html