Test your websites with this simple GUI based scripted webtester. Generate simple testscripts directly from surfng on the webpage, enhance them with your commands, with variables, loops, checks, … and finally run automated web tests.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
841 B
39 lines
841 B
#ifndef __SCRIPTFILE__HXX |
|
#define __SCRIPTFILE__HXX |
|
|
|
#include <ui_scriptfile.hxx> |
|
#include <cassert> |
|
|
|
class ScriptFile: public QDockWidget, protected Ui::ScriptFile { |
|
Q_OBJECT; |
|
Q_SIGNALS: |
|
void include(QString); |
|
void close(ScriptFile*); |
|
public: |
|
ScriptFile(QWidget* p=0): QDockWidget(p) { |
|
setupUi(this); |
|
assert(connect(_editor, SIGNAL(include(QString)), SIGNAL(include(QString)))); |
|
_searchBar->hide(); |
|
_replaceBar->hide(); |
|
_pageBar->hide(); |
|
} |
|
CodeEditor* editor() { |
|
return _editor; |
|
} |
|
QString name() { |
|
return _name; |
|
} |
|
void name(QString name) { |
|
_name = name; |
|
setWindowTitle(name+"[*]"); |
|
setWindowModified(false); |
|
} |
|
protected: |
|
void closeEvent (QCloseEvent *event) { |
|
close(this); |
|
} |
|
private: |
|
QString _name; |
|
}; |
|
|
|
#endif
|
|
|